23b719w commited on
Commit
1cd28ba
·
verified ·
1 Parent(s): f1e739e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -176,7 +176,8 @@ gr.Interface(fn=predict,
176
  title="Facemask & Glasses",
177
  description="Model: ssd_mobilenet_v2_320x320",
178
  theme=gr.themes.Soft(primary_hue="blue", secondary_hue="sky"),
179
- examples=[["test_samples/image489.png",None,0.55], ["test_samples/image825.png",None,0.55], ["test_samples/image833.png",None,0.55], ["test_samples/image846.png",None,0.55], [None,"test_samples/test_video.mp4",0.55]]
 
180
  ).launch(share=True)
181
 
182
  # gr.Interface(fn=video_fn,
 
176
  title="Facemask & Glasses",
177
  description="Model: ssd_mobilenet_v2_320x320",
178
  theme=gr.themes.Soft(primary_hue="blue", secondary_hue="sky"),
179
+ cache_examples = True,
180
+ examples=[["test_samples/image489.png",None,0.55], ["test_samples/image825.png",None,0.55], ["test_samples/image833.png",None,0.55], ["test_samples/image846.png",None,0.55], [None,"test_samples/test_video.mp4",0.55]]
181
  ).launch(share=True)
182
 
183
  # gr.Interface(fn=video_fn,