Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from collections import Counter
|
|
| 6 |
|
| 7 |
def predict(image_path: str):
|
| 8 |
# Cargar el modelo
|
| 9 |
-
model = YOLO("
|
| 10 |
|
| 11 |
# Leer la imagen desde la ruta
|
| 12 |
image = cv2.imread(image_path)
|
|
|
|
| 6 |
|
| 7 |
def predict(image_path: str):
|
| 8 |
# Cargar el modelo
|
| 9 |
+
model = YOLO("best_dxrayv0.pt")
|
| 10 |
|
| 11 |
# Leer la imagen desde la ruta
|
| 12 |
image = cv2.imread(image_path)
|