greykingreys commited on
Commit
faba419
·
verified ·
1 Parent(s): a9e441b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -7,6 +7,7 @@ import numpy as np
7
  # Charger le modèle YOLOv8 pré-entraîné
8
  model = YOLO("yolov8n.pt")
9
 
 
10
  # Fonction pour la détection sur image
11
  def detect_objects_image(img):
12
  results = model(img) # Détection
 
7
  # Charger le modèle YOLOv8 pré-entraîné
8
  model = YOLO("yolov8n.pt")
9
 
10
+
11
  # Fonction pour la détection sur image
12
  def detect_objects_image(img):
13
  results = model(img) # Détection