Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
3a975fe
1
Parent(s):
9633bf0
Let's try to cache the examples (#29)
Browse files- Let's try to cache the examples (9a67290cba511ee0455eb573d1d0c2fd29be144f)
Co-authored-by: Fabrice TIERCELIN <[email protected]>
app.py
CHANGED
@@ -237,7 +237,7 @@ with gr.Blocks() as demo:
|
|
237 |
outputs=[video_output, gif_output, download_button, gallery, seed, information_msg, reset_btn],
|
238 |
fn=animate,
|
239 |
run_on_click=True,
|
240 |
-
cache_examples=
|
241 |
)
|
242 |
|
243 |
if __name__ == "__main__":
|
|
|
237 |
outputs=[video_output, gif_output, download_button, gallery, seed, information_msg, reset_btn],
|
238 |
fn=animate,
|
239 |
run_on_click=True,
|
240 |
+
cache_examples="lazy",
|
241 |
)
|
242 |
|
243 |
if __name__ == "__main__":
|