Cache examples
Browse files
app.py
CHANGED
@@ -147,7 +147,7 @@ with demo:
|
|
147 |
inputs = [input_image, threshold],
|
148 |
outputs = [output_image, dimensions, detections, stopwatch],
|
149 |
fn=predict_image,
|
150 |
-
|
151 |
label='Try these images! They are not included in the training dataset.'
|
152 |
)
|
153 |
|
|
|
147 |
inputs = [input_image, threshold],
|
148 |
outputs = [output_image, dimensions, detections, stopwatch],
|
149 |
fn=predict_image,
|
150 |
+
cache_examples=True,
|
151 |
label='Try these images! They are not included in the training dataset.'
|
152 |
)
|
153 |
|