multimodalart HF Staff commited on
Commit
a750835
·
verified ·
1 Parent(s): c12eea6

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -261,8 +261,8 @@ with gr.Blocks(css=CSS) as demo:
261
  inputs=[context_image, prompt, rotation_direction, rotation_degrees],
262
  outputs=[video_output, status_text],
263
  fn=generate,
264
- cache_examples=True,
265
- cache_mode="lazy",
266
  )
267
 
268
  gr.Markdown(
 
261
  inputs=[context_image, prompt, rotation_direction, rotation_degrees],
262
  outputs=[video_output, status_text],
263
  fn=generate,
264
+ cache_examples=False,
265
+ run_on_click=True,
266
  )
267
 
268
  gr.Markdown(