Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -312,7 +312,7 @@ with demo:
|
|
312 |
method = gr.Dropdown(["slow", "fast"], label="Method", value="slow")
|
313 |
with gr.Row():
|
314 |
generate_btn = gr.Button("Generate")
|
315 |
-
generate_btn.click(predict, [text_prompt, method], [video_out])
|
316 |
print(video_out)
|
317 |
with gr.Row():
|
318 |
video_out.render()
|
|
|
312 |
method = gr.Dropdown(["slow", "fast"], label="Method", value="slow")
|
313 |
with gr.Row():
|
314 |
generate_btn = gr.Button("Generate")
|
315 |
+
generate_btn.click(predict, [text_prompt, method], [video_out], api_name="generate")
|
316 |
print(video_out)
|
317 |
with gr.Row():
|
318 |
video_out.render()
|