hank1996 commited on
Commit
1b04cf0
·
1 Parent(s): 787944c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -188,4 +188,4 @@ def detect(img,model):
188
  return Image.fromarray(im0[:,:,::-1])
189
 
190
 
191
- gr.Interface(detect,[gr.Image(type="pil"),gr.Dropdown(choices=['yolov7',"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()
 
188
  return Image.fromarray(im0[:,:,::-1])
189
 
190
 
191
+ gr.Interface(detect,[gr.Image(type="pil"),gr.Dropdown(choices=['yolov7',"yolopv2"])], gr.Image(type="pil"),title="Yolopv2",examples=[["horses.jpeg", "yolov7"]],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()