multimodalart HF Staff commited on
Commit
f62fc75
·
verified ·
1 Parent(s): 6243da9
Files changed (1) hide show
  1. app.py +5 -6
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="""