Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
7180901
1
Parent(s):
b9cd554
change from dict to lists/tuples
Browse files
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 =
|
127 |
-
igv_inputs =
|
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 =
|
136 |
-
igv_outputs =
|
137 |
-
vgv_outputs =
|
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 ---
|