Spaces:
Sleeping
Sleeping
Commit
·
0dd421e
1
Parent(s):
306e7ae
- .env +1 -0
- Dockerfile +1 -1
- README.md +7 -0
- models/yolo11n.pt +3 -0
.env
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
ENV YOLO_MODEL=models/yolo11n.pt
|
Dockerfile
CHANGED
|
@@ -15,7 +15,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 15 |
COPY main.py .
|
| 16 |
|
| 17 |
# YOLO 기본모델(환경변수로 변경 가능): yolo11n.pt / yolov8n.pt 등
|
| 18 |
-
ENV YOLO_MODEL=yolo11n.pt
|
| 19 |
|
| 20 |
# Spaces는 7860 포트가 편합니다
|
| 21 |
EXPOSE 7860
|
|
|
|
| 15 |
COPY main.py .
|
| 16 |
|
| 17 |
# YOLO 기본모델(환경변수로 변경 가능): yolo11n.pt / yolov8n.pt 등
|
| 18 |
+
ENV YOLO_MODEL=models/yolo11n.pt
|
| 19 |
|
| 20 |
# Spaces는 7860 포트가 편합니다
|
| 21 |
EXPOSE 7860
|
README.md
CHANGED
|
@@ -8,3 +8,10 @@ pinned: false
|
|
| 8 |
---
|
| 9 |
|
| 10 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
git lfs install
|
| 14 |
+
|
| 15 |
+
pip install -U "huggingface_hub[cli]"
|
| 16 |
+
huggingface-cli login # 방금 만든 토큰 붙여넣기
|
| 17 |
+
git push origin main
|
models/yolo11n.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ebbc80d4a7680d14987a577cd21342b65ecfd94632bd9a8da63ae6417644ee1
|
| 3 |
+
size 5613764
|