Spaces:
Sleeping
Sleeping
This PR only caches examples on demand to avoid startup crash
#3
by
Fabrice-TIERCELIN
- opened
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(
|