Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from ultralytics import YOLO
|
|
7 |
|
8 |
def predict(path:str):
|
9 |
model = YOLO("yolo11s.yaml")
|
10 |
-
model = YOLO("best
|
11 |
imagen = cv2.imread(path)
|
12 |
results = model.predict(source=path)
|
13 |
|
|
|
7 |
|
8 |
def predict(path:str):
|
9 |
model = YOLO("yolo11s.yaml")
|
10 |
+
model = YOLO("best.pt")
|
11 |
imagen = cv2.imread(path)
|
12 |
results = model.predict(source=path)
|
13 |
|