Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
|
|
|
| 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,
|