Spaces:
Running
Running
Fabrice-TIERCELIN
commited on
Commit
•
6fb17c8
1
Parent(s):
264c9fe
This PR only caches examples on demand to avoid startup crash
Browse files
app.py
CHANGED
@@ -228,7 +228,7 @@ with gr.Blocks() as demo:
|
|
228 |
output_mask_component
|
229 |
],
|
230 |
run_on_click=True,
|
231 |
-
cache_examples=
|
232 |
)
|
233 |
|
234 |
submit_button_component.click(
|
|
|
228 |
output_mask_component
|
229 |
],
|
230 |
run_on_click=True,
|
231 |
+
cache_examples="lazy"
|
232 |
)
|
233 |
|
234 |
submit_button_component.click(
|