kelseye linoyts HF Staff commited on
Commit
ac7d98a
·
verified ·
1 Parent(s): a82a0b1

enable example caching to avoid re-generating (#1)

Browse files

- enable example caching to avoid re-generating (1dbb512788c0190761420d8415b944e45c35b0e1)


Co-authored-by: Linoy Tsaban <[email protected]>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -179,7 +179,7 @@ def start_app():
179
  inputs=[ref_img, audio, resolution],
180
  outputs=output_video,
181
  fn=app.predict,
182
- cache_examples=False,
183
  )
184
 
185
  demo.launch(
 
179
  inputs=[ref_img, audio, resolution],
180
  outputs=output_video,
181
  fn=app.predict,
182
+ cache_examples="lazy",
183
  )
184
 
185
  demo.launch(