Prasanna1622 commited on
Commit
c34877b
·
verified ·
1 Parent(s): 05489d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -8,9 +8,6 @@ from ultralytics import YOLO
8
  # Download model if not present
9
  model_path ="best.pt"
10
 
11
- # Load YOLOv8 model
12
- model = YOLO("best.pt")
13
-
14
  def detect(image):
15
  results = model(image)
16
  annotated_image = results[0].plot() # draw boxes
 
8
  # Download model if not present
9
  model_path ="best.pt"
10
 
 
 
 
11
  def detect(image):
12
  results = model(image)
13
  annotated_image = results[0].plot() # draw boxes