fffiloni commited on
Commit
da2b6f6
1 Parent(s): cb5166a

Update gradio_app.py

Browse files
Files changed (1) hide show
  1. gradio_app.py +5 -5
gradio_app.py CHANGED
@@ -218,11 +218,11 @@ with gr.Blocks(css=css) as demo:
218
  with gr.Column():
219
  video_output=gr.Video(label="Generated Video")
220
 
221
- submit_btn.click(
222
- fn=run_inference,
223
- inputs=[user_prompt, guidance_scale, num_sampling_steps, seed, enable_cpu_offload],
224
- outputs=video_output
225
- )
226
 
227
  # Launch the interface
228
  demo.launch(show_error=True, show_api=False)
 
218
  with gr.Column():
219
  video_output=gr.Video(label="Generated Video")
220
 
221
+ submit_btn.click(
222
+ fn=run_inference,
223
+ inputs=[user_prompt, guidance_scale, num_sampling_steps, seed, enable_cpu_offload],
224
+ outputs=video_output
225
+ )
226
 
227
  # Launch the interface
228
  demo.launch(show_error=True, show_api=False)