Try to prevent timeout by not caching examples

#2
by freddyaboulton HF staff - opened
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def main():
73
 
74
  gr.Markdown("## Examples")
75
  gr.Examples(fn=generate, inputs=inputs, outputs=[video_result, model_demo, model_file],
76
- examples=[defaults], cache_examples=True, examples_per_page=1)
77
  return ui
78
 
79
  ui = main()
 
73
 
74
  gr.Markdown("## Examples")
75
  gr.Examples(fn=generate, inputs=inputs, outputs=[video_result, model_demo, model_file],
76
+ examples=[defaults], cache_examples=False, examples_per_page=1)
77
  return ui
78
 
79
  ui = main()