mw commited on
Commit
814ff1f
1 Parent(s): 7cb2a32

Fine tune readme

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -192,6 +192,6 @@ def detect(img, model):
192
  return Image.fromarray(im0[:, :, ::-1])
193
 
194
 
195
- gr.Interface(detect, [gr.Image(type="pil"), gr.Dropdown(choices=model_names)], gr.Image(type="pil"), title="Lego Detectioni with Yolov7",
196
  examples=[["lego-1.jpg", "zero-shot-1000-single-class"], ["lego-2.jpg", "zero-shot-1000-single-class"]],
197
- description="demo for <a href='https://huggingface.co/mw00/yolov7-lego' style='text-decoration: underline' target='_blank'>mw00/yolov7-lego</a> Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors based on <a href='https://github.com/WongKinYiu/yolov7' style='text-decoration: underline' target='_blank'>WongKinYiu/yolov7</a>").launch()
 
192
  return Image.fromarray(im0[:, :, ::-1])
193
 
194
 
195
+ gr.Interface(detect, [gr.Image(type="pil"), gr.Dropdown(choices=model_names)], gr.Image(type="pil"), title="Lego Detection with Yolov7",
196
  examples=[["lego-1.jpg", "zero-shot-1000-single-class"], ["lego-2.jpg", "zero-shot-1000-single-class"]],
197
+ description="Demo for <a href='https://huggingface.co/mw00/yolov7-lego' style='text-decoration: underline' target='_blank'>mw00/yolov7-lego</a> <br/>Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors based on <a href='https://github.com/WongKinYiu/yolov7' style='text-decoration: underline' target='_blank'>WongKinYiu/yolov7</a>").launch()