Spaces:
Build error
Build error
Update app.py
Browse files
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,
|
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()
|