Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
|
|
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()
|