Spaces:
Running
Running
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]>
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=
|
| 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(
|