No cache for examples
Browse files
Makefile
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.PHONY: test-local
|
2 |
+
|
3 |
+
test-local:
|
4 |
+
gradio app.py
|
app.py
CHANGED
@@ -133,7 +133,7 @@ with demo:
|
|
133 |
inputs = [input_image, text_prompt, box_threshold, text_threshold],
|
134 |
outputs = [output_image, dimensions, detections, stopwatch],
|
135 |
fn=predict_image,
|
136 |
-
cache_examples=
|
137 |
label='Try these images!'
|
138 |
)
|
139 |
|
|
|
133 |
inputs = [input_image, text_prompt, box_threshold, text_threshold],
|
134 |
outputs = [output_image, dimensions, detections, stopwatch],
|
135 |
fn=predict_image,
|
136 |
+
cache_examples=False,
|
137 |
label='Try these images!'
|
138 |
)
|
139 |
|