Spaces:
Sleeping
Sleeping
Update tasks/image.py
Browse files- tasks/image.py +1 -1
tasks/image.py
CHANGED
@@ -102,7 +102,7 @@ async def evaluate_image(request: ImageEvaluationRequest):
|
|
102 |
from ultralytics import YOLO
|
103 |
|
104 |
# Load the trained YOLOv8 model
|
105 |
-
|
106 |
|
107 |
predictions = []
|
108 |
true_labels = []
|
|
|
102 |
from ultralytics import YOLO
|
103 |
|
104 |
# Load the trained YOLOv8 model
|
105 |
+
model = YOLO("./../best.pt")
|
106 |
|
107 |
predictions = []
|
108 |
true_labels = []
|