nathanjc commited on
Commit
92df83e
·
1 Parent(s): f0d5f61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -153,7 +153,7 @@ def detect(opt, save_img=False):
153
  if save_img:
154
  if dataset.mode == 'image':
155
  # Image.fromarray(im0).show()
156
- cv2.imwrite(save_path, im0)
157
  print(f" The image with the result is saved in: {save_path}")
158
  # else: # 'video' or 'stream'
159
  # if vid_path != save_path: # new video
 
153
  if save_img:
154
  if dataset.mode == 'image':
155
  # Image.fromarray(im0).show()
156
+ cv2.imwrite(save_path, im0)
157
  print(f" The image with the result is saved in: {save_path}")
158
  # else: # 'video' or 'stream'
159
  # if vid_path != save_path: # new video