hank1996 commited on
Commit
7168756
β€’
1 Parent(s): 835c2f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -273,4 +273,4 @@ def detect(img,model):
273
  return Image.fromarray(im0[:,:,::-1])
274
 
275
 
276
- gr.Interface(detect,[gr.Image(type="pil"),gr.Dropdown(choices=["yolopv2","yolop"])], gr.Image(type="pil"),title="Yolopv2",examples=[["example.jpeg", "yolopv2"]],description="demo for <a href='https://github.com/CAIC-AD/YOLOPv2' style='text-decoration: underline' target='_blank'>yolopv2</a> πŸš€: Better, Faster, Stronger for Panoptic driving Perception").launch()
 
273
  return Image.fromarray(im0[:,:,::-1])
274
 
275
 
276
+ gr.Interface(detect,[gr.Image(type="pil"),gr.Dropdown(choices=["yolopv2","yolop"])], gr.Image(type="pil"),title="Yolopv2",examples=[["example.jpeg", "yolopv2"]],description="demo for <a href='https://github.com/CAIC-AD/YOLOPv2' style='text-decoration: underline' target='_blank'>yolopv2</a> πŸš€: Better, Faster, Stronger for Panoptic driving Perception (but maybe not fast on cpu:joy:)").launch()