KingNish commited on
Commit
9c23c95
1 Parent(s): 26a50b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -97,7 +97,7 @@ with gr.Blocks() as demo:
97
  fps_slider = gr.Slider(minimum=1, maximum=60, step=1, value=12, label="Output FPS")
98
  color_picker = gr.ColorPicker(label="Background Color", value="#00FF00")
99
 
100
- examples = gr.Examples(["rickroll-2sec.mp4"], inputs=in_video, outputs=[stream_image, out_video], fn=fn, cache_examples=True, cache_mode="lazy")
101
 
102
  submit_button.click(
103
  fn, inputs=[in_video, fps_slider, color_picker], outputs=[stream_image, out_video]
 
97
  fps_slider = gr.Slider(minimum=1, maximum=60, step=1, value=12, label="Output FPS")
98
  color_picker = gr.ColorPicker(label="Background Color", value="#00FF00")
99
 
100
+ examples = gr.Examples(["rickroll-2sec.mp4"], inputs=in_video, outputs=[stream_image, out_video], fn=fn, cache_examples=True, cache_mode="eager")
101
 
102
  submit_button.click(
103
  fn, inputs=[in_video, fps_slider, color_picker], outputs=[stream_image, out_video]