mrcuddle commited on
Commit
5b933bf
·
verified ·
1 Parent(s): 4c253ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -65,7 +65,7 @@ with gr.Blocks() as demo:
65
 
66
  text_generate_button.click(
67
  fn=generate_gif,
68
- inputs=[text_prompt, None, text_negative_prompt, text_num_inference_steps, text_guidance_scale, text_seed],
69
  outputs=text_output_video
70
  )
71
 
@@ -90,4 +90,4 @@ with gr.Blocks() as demo:
90
  )
91
 
92
  # Launch the interface
93
- demo.launch()
 
65
 
66
  text_generate_button.click(
67
  fn=generate_gif,
68
+ 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],
69
  outputs=text_output_video
70
  )
71
 
 
90
  )
91
 
92
  # Launch the interface
93
+ demo.launch()