Doubiiu commited on
Commit
d9114d9
1 Parent(s): 67a82ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -147,6 +147,7 @@ with gr.Blocks(analytics_enabled=False, css=css) as dynamicrafter_iface:
147
  inputs=[i2v_input_image, i2v_input_text, i2v_steps, i2v_cfg_scale, i2v_eta, i2v_motion, i2v_seed],
148
  outputs=[i2v_output_video],
149
  fn = infer,
 
150
  )
151
  i2v_end_btn.click(inputs=[i2v_input_image, i2v_input_text, i2v_steps, i2v_cfg_scale, i2v_eta, i2v_motion, i2v_seed],
152
  outputs=[i2v_output_video],
 
147
  inputs=[i2v_input_image, i2v_input_text, i2v_steps, i2v_cfg_scale, i2v_eta, i2v_motion, i2v_seed],
148
  outputs=[i2v_output_video],
149
  fn = infer,
150
+ cache_examples=True,
151
  )
152
  i2v_end_btn.click(inputs=[i2v_input_image, i2v_input_text, i2v_steps, i2v_cfg_scale, i2v_eta, i2v_motion, i2v_seed],
153
  outputs=[i2v_output_video],