Gareth Edwards commited on
Commit
8cd02b5
·
1 Parent(s): 9eb7153

Changed yolo version to 26 small

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('yolo26l.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('yolo26s.pt')
20
 
21
  @app.post("/detect")
22
  async def detect_people(file: UploadFile = File(...)):