Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -100,7 +100,7 @@ with gr.Blocks(css='style.css') as demo:
|
|
100 |
num_frames,
|
101 |
num_inference_steps,
|
102 |
]
|
103 |
-
prompt.submit(fn=generate, inputs=inputs, outputs=result)
|
104 |
run_button.click(fn=generate, inputs=inputs, outputs=result)
|
105 |
gr.Examples(examples=examples,
|
106 |
inputs=inputs,
|
|
|
100 |
num_frames,
|
101 |
num_inference_steps,
|
102 |
]
|
103 |
+
prompt.submit(fn=generate, inputs=inputs, outputs=result, api_name="predict")
|
104 |
run_button.click(fn=generate, inputs=inputs, outputs=result)
|
105 |
gr.Examples(examples=examples,
|
106 |
inputs=inputs,
|