Spaces:
Running
Running
enable example caching to avoid re-generating
Browse filesthis will save time by caching examples after the first generation & avoid re-generating
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(
|