Spaces:
Sleeping
Sleeping
Gareth Edwards commited on
Commit ·
9eb7153
1
Parent(s): 0206fc1
Using yolo26 large model
Browse files
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('
|
| 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(...)):
|