Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
2bf3a85
1
Parent(s):
7c40d47
lazy caching to avoid errors
Browse filesLazy caching caches the first example during runtime
app.py
CHANGED
@@ -134,7 +134,7 @@ def app():
|
|
134 |
iou_threshold,
|
135 |
],
|
136 |
outputs=[output_image],
|
137 |
-
cache_examples=
|
138 |
)
|
139 |
|
140 |
gradio_app = gr.Blocks()
|
|
|
134 |
iou_threshold,
|
135 |
],
|
136 |
outputs=[output_image],
|
137 |
+
cache_examples="lazy",
|
138 |
)
|
139 |
|
140 |
gradio_app = gr.Blocks()
|