Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,8 @@ from ultralytics import YOLO
|
|
2 |
import os
|
3 |
|
4 |
# Define the correct path to config.yaml (in the root directory)
|
5 |
-
config_path = '
|
|
|
6 |
|
7 |
# Load YOLO model
|
8 |
model = YOLO("yolo11n.yaml") # You can choose a different model type like yolo5n, yolo6n, etc.
|
|
|
2 |
import os
|
3 |
|
4 |
# Define the correct path to config.yaml (in the root directory)
|
5 |
+
config_path = './config.yaml' # Adjust based on the actual path to your config.yaml
|
6 |
+
|
7 |
|
8 |
# Load YOLO model
|
9 |
model = YOLO("yolo11n.yaml") # You can choose a different model type like yolo5n, yolo6n, etc.
|