Spaces:
Build error
Build error
nn commited on
Upload app.py
Browse files
app.py
CHANGED
|
@@ -153,8 +153,8 @@ def analyze_image(image):
|
|
| 153 |
|
| 154 |
# Run YOLO models
|
| 155 |
run_yolo_models1(temp_image_path)
|
| 156 |
-
label_path = '
|
| 157 |
-
label_path2 = '
|
| 158 |
|
| 159 |
segment = extract_class_0_coordinates(label_path)
|
| 160 |
yolo_boxes = read_yolo_boxes(label_path2)
|
|
|
|
| 153 |
|
| 154 |
# Run YOLO models
|
| 155 |
run_yolo_models1(temp_image_path)
|
| 156 |
+
label_path = 'runs/predict-seg/yolov9_c_640_detect/labels/temp_image.txt'
|
| 157 |
+
label_path2 = 'runs/detect/yolov9_c_640_detect/labels/temp_image.txt'
|
| 158 |
|
| 159 |
segment = extract_class_0_coordinates(label_path)
|
| 160 |
yolo_boxes = read_yolo_boxes(label_path2)
|