akhaliq HF staff commited on
Commit
9f81539
β€’
1 Parent(s): 89c8611

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -186,4 +186,4 @@ with torch.no_grad():
186
  for opt.weights in ['yolov7.pt']:
187
  strip_optimizer(opt.weights)
188
 
189
- gr.Interface(detect,"image","image").launch()
 
186
  for opt.weights in ['yolov7.pt']:
187
  strip_optimizer(opt.weights)
188
 
189
+ gr.Interface(detect,gr.Image(type="pil"),"image").launch()