hank1996 commited on
Commit
d86e92c
·
1 Parent(s): fc84157

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -147,7 +147,7 @@ def detect(img,model):
147
  nms_time.update(t4-t3,img.size(0))
148
  det=det_pred[0]
149
 
150
- save_path = str(save_dir +'/'+ Path(path).name)
151
 
152
  _, _, height, width = img.shape
153
  h,w,_=img_det.shape
 
147
  nms_time.update(t4-t3,img.size(0))
148
  det=det_pred[0]
149
 
150
+ save_path = str(save_dir +'/'+ 'img.jpg')
151
 
152
  _, _, height, width = img.shape
153
  h,w,_=img_det.shape