mrcuddle commited on
Commit
087f41b
·
verified ·
1 Parent(s): c0791ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -67,7 +67,7 @@ with gr.Blocks() as demo:
67
 
68
  text_generate_button.click(
69
  fn=generate_gif,
70
- inputs=[text_prompt, None, text_negative_prompt, text_num_inference_steps, text_guidance_scale, text_seed],
71
  outputs=text_output_video
72
  )
73
 
@@ -92,4 +92,4 @@ with gr.Blocks() as demo:
92
  )
93
 
94
  # Launch the interface
95
- demo.launch()
 
67
 
68
  text_generate_button.click(
69
  fn=generate_gif,
70
+ inputs=[text_prompt, gr.Image(type="filepath", label="Input Image (optional)", visible=False), text_negative_prompt, text_num_inference_steps, text_guidance_scale, text_seed],
71
  outputs=text_output_video
72
  )
73
 
 
92
  )
93
 
94
  # Launch the interface
95
+ demo.launch()