Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -185,4 +185,4 @@ def detect(img,model):
|
|
185 |
return Image.fromarray(im0[:,:,::-1])
|
186 |
|
187 |
|
188 |
-
gr.Interface(detect,[gr.Image(type="pil"),gr.Dropdown(choices=["
|
|
|
185 |
return Image.fromarray(im0[:,:,::-1])
|
186 |
|
187 |
|
188 |
+
gr.Interface(detect,[gr.Image(type="pil"),gr.Dropdown(choices=["yolopv2"])], gr.Image(type="pil"),title="Yolopv2",examples=[["horses.jpeg", "yolopv2"]],description="demo for <a href='https://github.com/CAIC-AD/YOLOPv2' style='text-decoration: underline' target='_blank'>WongKinYiu/yolov7</a> Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors").launch()
|