nagasurendra commited on
Commit
2c6959d
·
verified ·
1 Parent(s): 1e92315

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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 = '/config.yaml'
 
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.