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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ opt = parser.parse_args()
45
 
46
 
47
  def detect(img):
48
- img.save("inference/images/test.jpg")
49
  source, weights, view_img, save_txt, imgsz, trace = opt.source, opt.weights, opt.view_img, opt.save_txt, opt.img_size, opt.trace
50
  save_img = True # save inference images
51
  webcam = source.isnumeric() or source.endswith('.txt') or source.lower().startswith(
 
45
 
46
 
47
  def detect(img):
48
+ img.save("./inference/images/test.jpg")
49
  source, weights, view_img, save_txt, imgsz, trace = opt.source, opt.weights, opt.view_img, opt.save_txt, opt.img_size, opt.trace
50
  save_img = True # save inference images
51
  webcam = source.isnumeric() or source.endswith('.txt') or source.lower().startswith(