Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -92,8 +92,8 @@ def detect_objects(model_name,url,image_upload,threshold):
|
|
92 |
|
93 |
return viz_img
|
94 |
|
95 |
-
examples=[['facebook/detr-resnet-50','https://media-cldnry.s-nbcnews.com/image/upload/t_fit-1500w,f_auto,q_auto:best/newscms/2020_14/3290756/200331-wall-street-ew-343p.jpg'
|
96 |
-
['facebook/detr-resnet-50'
|
97 |
|
98 |
gr.Interface(
|
99 |
fn = detect_objects,
|
|
|
92 |
|
93 |
return viz_img
|
94 |
|
95 |
+
examples=[['facebook/detr-resnet-50','https://media-cldnry.s-nbcnews.com/image/upload/t_fit-1500w,f_auto,q_auto:best/newscms/2020_14/3290756/200331-wall-street-ew-343p.jpg',,0.7],
|
96 |
+
['facebook/detr-resnet-50',,'IMG_5205.JPG',0.7]]
|
97 |
|
98 |
gr.Interface(
|
99 |
fn = detect_objects,
|