akhaliq HF staff commited on
Commit
514e9b7
β€’
1 Parent(s): cfd373a

add description and examples

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. horses.jpeg +0 -0
app.py CHANGED
@@ -187,4 +187,4 @@ with torch.no_grad():
187
  for opt.weights in ['yolov7.pt']:
188
  strip_optimizer(opt.weights)
189
 
190
- gr.Interface(detect,gr.Image(type="pil"), gr.Image(type="pil"),title="Yolov7").launch()
187
  for opt.weights in ['yolov7.pt']:
188
  strip_optimizer(opt.weights)
189
 
190
+ gr.Interface(detect,gr.Image(type="pil"), gr.Image(type="pil"),title="Yolov7",examples=[["horses.jpeg"]],description="demo for WongKinYiu/yolov7 Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors").launch()
horses.jpeg ADDED