Spaces:
Sleeping
Sleeping
Update gully_drs_core/model_utils.py
Browse files
gully_drs_core/model_utils.py
CHANGED
@@ -2,5 +2,6 @@
|
|
2 |
from ultralytics import YOLO
|
3 |
|
4 |
def load_model():
|
5 |
-
|
|
|
6 |
return model
|
|
|
2 |
from ultralytics import YOLO
|
3 |
|
4 |
def load_model():
|
5 |
+
# Load your custom YOLOv8 model
|
6 |
+
model = YOLO('best.pt') # 👈 Your trained cricket model
|
7 |
return model
|