fffiloni commited on
Commit
8a1c704
·
verified ·
1 Parent(s): 269c36d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -214,8 +214,8 @@ with gr.Blocks() as demo:
214
  output_quality,
215
  ],
216
  outputs=output_video,
217
- cache_examples=True,
218
- cache_mode="lazy"
219
  )
220
 
221
  generate_btn.click(
@@ -234,4 +234,4 @@ with gr.Blocks() as demo:
234
  )
235
 
236
  if __name__ == "__main__":
237
- demo.launch(ssr_mode=False, show_error=True, show_api=False)
 
214
  output_quality,
215
  ],
216
  outputs=output_video,
217
+ cache_examples=False,
218
+ # cache_mode="lazy"
219
  )
220
 
221
  generate_btn.click(
 
234
  )
235
 
236
  if __name__ == "__main__":
237
+ demo.queue().launch(ssr_mode=False, show_error=True, show_api=False)