Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def yolov9_inference(img_path, model_path,image_size, conf_threshold, iou_thresh
|
|
28 |
results = model(img_path, size=image_size)
|
29 |
|
30 |
# Optionally, show detection bounding boxes on image
|
31 |
-
save_path = '
|
32 |
results.save(labels=True, save_dir=save_path, exist_ok=True)
|
33 |
print("save_path:",save_path)
|
34 |
print("img_path:",img_path)
|
|
|
28 |
results = model(img_path, size=image_size)
|
29 |
|
30 |
# Optionally, show detection bounding boxes on image
|
31 |
+
save_path = 'output/'
|
32 |
results.save(labels=True, save_dir=save_path, exist_ok=True)
|
33 |
print("save_path:",save_path)
|
34 |
print("img_path:",img_path)
|