Spaces:
Sleeping
Sleeping
danielhshi8224 commited on
Commit ·
6c3c94e
1
Parent(s): 8fecd1d
update OD model
Browse filesFiles changed (2)
- app.py+4-3
- yolo11_150_best.ptAdded+3
17 unmodified lines18192021222324194 unmodified lines21922022122222322422522617 unmodified linesMAX_BATCH = 10# Option A: local file baked into Space (easiest if allowed)YOLO_WEIGHTS = os.path.join(BASE_DIR, "yolo11_best.pt")# Option B (optional): pull from a private HF model repo using a Space secret# Set these env vars in your Space if you want auto-download:194 unmodified linestitle="🌊 BenthicAI — Object Detection",description=("Run YOLO object detection on multiple images. ""Place 'yolo11_best.pt' in the repo root, OR set YOLO_REPO_ID (+ HF_TOKEN if private) ""to fetch from the Hub."),)17 unmodified lines18192021222324194 unmodified lines21922022122222322422522622717 unmodified linesMAX_BATCH = 10# Option A: local file baked into Space (easiest if allowed)YOLO_WEIGHTS = os.path.join(BASE_DIR, "yolo11_150_best.pt")# Option B (optional): pull from a private HF model repo using a Space secret# Set these env vars in your Space if you want auto-download:194 unmodified linestitle="🌊 BenthicAI — Object Detection",description=("Run YOLO object detection on multiple images. ""Upload up to 10 images at a time. The model detects various benthic species. ""Adjust the confidence and IoU thresholds as needed."),)
123version https://git-lfs.github.com/spec/v1oid sha256:c11a0bb413e9f8ae1e124e52d54a20a0a3753f0d50c118da499cab1d420f3effsize 5486746app.py+4-3
yolo11_150_best.ptAdded+3