unicodeveloper commited on
Commit
3edd875
·
1 Parent(s): ac41277

try grState none

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -19,7 +19,7 @@ def create(
19
  input_video_filepath=None,
20
  height_ui=512,
21
  width_ui=704,
22
- duration_ui=5.0,
23
  ui_frames_to_use=16,
24
  seed_ui=42,
25
  randomize_seed=True,
@@ -138,9 +138,9 @@ with gr.Blocks(title="AI Video Converter", theme=gr.themes.Soft()) as demo:
138
 
139
 
140
  # --- Inputs ---
141
- tgv_inputs = [text_prompt, text_num_frames, text_fps]
142
- igv_inputs = [image_text_prompt, image_input, image_num_frames, image_fps]
143
- vgv_inputs = [video_prompt, video_input, video_strength]
144
 
145
  # --- Outputs ---
146
  tgv_outputs = [text_output_video, text_status]
 
19
  input_video_filepath=None,
20
  height_ui=512,
21
  width_ui=704,
22
+ duration_ui=2.0,
23
  ui_frames_to_use=16,
24
  seed_ui=42,
25
  randomize_seed=True,
 
138
 
139
 
140
  # --- Inputs ---
141
+ tgv_inputs = [text_prompt, gr.State(None), gr.State(None), text_num_frames, text_fps]
142
+ igv_inputs = [image_text_prompt, image_input, gr.State(None), image_num_frames, image_fps]
143
+ vgv_inputs = [video_prompt, gr.State(None), video_input, video_strength]
144
 
145
  # --- Outputs ---
146
  tgv_outputs = [text_output_video, text_status]