jeffaudi commited on
Commit
9769a62
1 Parent(s): d6f8f6f

No cache for examples

Browse files
Files changed (2) hide show
  1. Makefile +4 -0
  2. app.py +1 -1
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=True,
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