Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from ultralytics import YOLO
|
|
3 |
import gradio as gr
|
4 |
|
5 |
# Cargar un modelo YOLOv8n preentrenado
|
6 |
-
model = YOLO('best
|
7 |
|
8 |
def detect_objects(image: Image.Image):
|
9 |
# Realizar la inferencia
|
|
|
3 |
import gradio as gr
|
4 |
|
5 |
# Cargar un modelo YOLOv8n preentrenado
|
6 |
+
model = YOLO('best.pt')
|
7 |
|
8 |
def detect_objects(image: Image.Image):
|
9 |
# Realizar la inferencia
|