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

enable example caching to avoid re-generating

Browse files

this will save time by caching examples after the first generation & avoid re-generating

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(