unicodeveloper commited on
Commit
7180901
·
1 Parent(s): b9cd554

change from dict to lists/tuples

Browse files
Files changed (1) hide show
  1. app.py +6 -10
app.py CHANGED
@@ -123,18 +123,14 @@ with gr.Blocks(title="AI Video Converter", theme=gr.themes.Soft()) as demo:
123
 
124
 
125
  # --- Inputs ---
126
- tgv_inputs = {"prompt": text_prompt, "ui_frames_to_use": text_num_frames, "fps": text_fps}
127
- igv_inputs = {"prompt": image_text_prompt, "input_image_filepath": image_input, "ui_frames_to_use": image_num_frames,"fps": image_fps}
128
- vgv_inputs = {
129
- "prompt": video_prompt,
130
- "input_video_filepath": video_input,
131
- "ui_guidance_scale": video_strength
132
- }
133
 
134
  # --- Outputs ---
135
- tgv_outputs = {"video": text_output_video, "status": text_status}
136
- igv_outputs = {"video": image_output_video, "status": image_status}
137
- vgv_outputs = {"video": video_output_video, "status": video_status}
138
 
139
 
140
  # --- Button Logic ---
 
123
 
124
 
125
  # --- Inputs ---
126
+ tgv_inputs = [text_prompt, text_num_frames, text_fps]
127
+ igv_inputs = [image_text_prompt, image_input, image_num_frames, image_fps]
128
+ vgv_inputs = [video_prompt, video_input, video_strength]
 
 
 
 
129
 
130
  # --- Outputs ---
131
+ tgv_outputs = [text_output_video, text_status]
132
+ igv_outputs = [image_output_video, image_status]
133
+ vgv_outputs = [video_output_video, video_status]
134
 
135
 
136
  # --- Button Logic ---