Snearec commited on
Commit
91cf526
·
1 Parent(s): d836c10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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('Snearec/detectorMalezasYolo8')
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 (2).pt')
7
 
8
  def detect_objects(image: Image.Image):
9
  # Realizar la inferencia