Spaces:
Running
Running
Commit
•
78852a0
1
Parent(s):
264c9fe
This PR only caches examples on demand to avoid startup crash (#3)
Browse files- This PR only caches examples on demand to avoid startup crash (6fb17c8ec6d1c466d9b2dddfaa61a7456ef70f09)
Co-authored-by: Fabrice TIERCELIN <[email protected]>
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(
|