Spaces:
Running
on
Zero
Running
on
Zero
oops
Browse files
app.py
CHANGED
@@ -321,15 +321,14 @@ def generate(prompt, negative_prompt, input_image_filepath, input_video_filepath
|
|
321 |
|
322 |
return output_video_path, seed_ui
|
323 |
|
324 |
-
def update_task_image
|
325 |
return "image-to-video"
|
326 |
-
|
327 |
-
def update_task_text
|
328 |
return "text-to-video"
|
329 |
-
|
330 |
-
def update_task_video
|
331 |
return "video-to-video"
|
332 |
-
}
|
333 |
|
334 |
# --- Gradio UI Definition ---
|
335 |
css="""
|
|
|
321 |
|
322 |
return output_video_path, seed_ui
|
323 |
|
324 |
+
def update_task_image():
|
325 |
return "image-to-video"
|
326 |
+
|
327 |
+
def update_task_text():
|
328 |
return "text-to-video"
|
329 |
+
|
330 |
+
def update_task_video():
|
331 |
return "video-to-video"
|
|
|
332 |
|
333 |
# --- Gradio UI Definition ---
|
334 |
css="""
|