Spaces:
Runtime error
Runtime error
add description and examples
Browse files- app.py +1 -1
- 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