vk commited on
Commit
8196cbc
·
1 Parent(s): 93daa70

cached example false

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,6 +52,7 @@ if __name__ == "__main__":
52
 
53
  pedestrian_detector=YOLOX_ONNX('models/pedestrian-detection-best55.onnx')
54
  iface = gr.Interface(
 
55
  fn=get_response,
56
  inputs=[gr.Image(type="numpy"), # Accepts image input
57
  gr.Checkbox(label="add_snow"),
@@ -64,4 +65,3 @@ if __name__ == "__main__":
64
  title="Pedestrian Detection with All weather augmentation",
65
  description="Upload images for pedestrian detection")
66
 
67
- iface.launch(share=True)
 
52
 
53
  pedestrian_detector=YOLOX_ONNX('models/pedestrian-detection-best55.onnx')
54
  iface = gr.Interface(
55
+ cache_examples=False,
56
  fn=get_response,
57
  inputs=[gr.Image(type="numpy"), # Accepts image input
58
  gr.Checkbox(label="add_snow"),
 
65
  title="Pedestrian Detection with All weather augmentation",
66
  description="Upload images for pedestrian detection")
67