Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
|
|
6 |
from matplotlib.patches import Rectangle
|
7 |
from matplotlib.legend import Legend
|
8 |
|
9 |
-
# Cargar el modelo YOLO
|
10 |
model = YOLO("model.pt")
|
11 |
|
12 |
def process_image(image):
|
|
|
6 |
from matplotlib.patches import Rectangle
|
7 |
from matplotlib.legend import Legend
|
8 |
|
9 |
+
# Cargar el modelo YOLO (asegúrate de que 'model.pt' esté en el mismo directorio)
|
10 |
model = YOLO("model.pt")
|
11 |
|
12 |
def process_image(image):
|