Gareth Edwards commited on
Commit
9eb7153
·
1 Parent(s): 0206fc1

Using yolo26 large model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ app.add_middleware(
16
  )
17
 
18
  # Load the nano YOLOv8 model (downloads automatically the first time)
19
- model = YOLO('yolov8m.pt')
20
 
21
  @app.post("/detect")
22
  async def detect_people(file: UploadFile = File(...)):
 
16
  )
17
 
18
  # Load the nano YOLOv8 model (downloads automatically the first time)
19
+ model = YOLO('yolo26l.pt')
20
 
21
  @app.post("/detect")
22
  async def detect_people(file: UploadFile = File(...)):