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