Spaces:
Runtime error
Runtime error
Kaelan commited on
Commit ·
308c707
1
Parent(s): 01e1043
new
Browse files- dockerfile +14 -5
- requirements.txt +1 -0
dockerfile
CHANGED
|
@@ -7,16 +7,25 @@ COPY ./public ./public
|
|
| 7 |
RUN yarn install
|
| 8 |
RUN yarn build
|
| 9 |
|
| 10 |
-
|
| 11 |
FROM python:3.10-bullseye
|
| 12 |
|
| 13 |
WORKDIR /yolov-app
|
| 14 |
COPY --from=build-step /yolov-app/build ./build
|
| 15 |
COPY . /yolov-app
|
| 16 |
-
|
| 17 |
-
RUN
|
| 18 |
-
RUN
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
RUN apt-get update && apt-get install -y \
|
| 22 |
build-essential \
|
|
|
|
| 7 |
RUN yarn install
|
| 8 |
RUN yarn build
|
| 9 |
|
|
|
|
| 10 |
FROM python:3.10-bullseye
|
| 11 |
|
| 12 |
WORKDIR /yolov-app
|
| 13 |
COPY --from=build-step /yolov-app/build ./build
|
| 14 |
COPY . /yolov-app
|
| 15 |
+
|
| 16 |
+
RUN gdown https://drive.google.com/file/d/1lBlZEh0v-WVUJsBb3ZJcUG8zxe5cckWT/view?usp=sharing --fuzzy -O checkpoints/ckpt.t7
|
| 17 |
+
RUN gdown https://drive.google.com/file/d/14T5lpdJ0dPndYkMKr0sUcSq_myQDQSda/view?usp=sharing --fuzzy -O checkpoints/ckpt_latest.pth
|
| 18 |
+
|
| 19 |
+
gdown https://drive.google.com/file/d/1pIDLMr0UUj_6fWYf9xHJ1lcKcCgmO7Vv/view?usp=sharing --fuzzy -O build/static/kitchen.mp4
|
| 20 |
+
gdown https://drive.google.com/file/d/1ip07Lngcicd7pouKs_b0OhpVVoVFRC7U/view?usp=sharing --fuzzy -O build/static/slip.mp4
|
| 21 |
+
gdown https://drive.google.com/file/d/1s93CZeEKEp_SwO5Y4KOjNYK0zWBgNiy7/view?usp=sharing --fuzzy -O build/static/studycam.mp4
|
| 22 |
+
gdown https://drive.google.com/file/d/1lZNim3Sl_dQN6gcyEvddRLeijM6v-pO5/view?usp=sharing --fuzzy -O build/static/cafe_fall.mp4
|
| 23 |
+
gdown https://drive.google.com/file/d/1Ru6ARgQOtshVgSUosFiH7GFRyRM-_R5U/view?usp=sharing --fuzzy -O build/static/skate.mp4
|
| 24 |
+
|
| 25 |
+
#RUN cp /yolov-app/public/uploads/cafe_fall.mp4 /yolov-app/build/static/cafe_fall.mp4
|
| 26 |
+
#RUN cp /yolov-app/public/uploads/kitchen.mp4 /yolov-app/build/static/kitchen.mp4
|
| 27 |
+
#RUN cp /yolov-app/public/uploads/skate.mp4 /yolov-app/build/static/skate.mp4
|
| 28 |
+
#RUN cp /yolov-app/public/uploads/slip.mp4 /yolov-app/build/static/slip.mp4
|
| 29 |
|
| 30 |
RUN apt-get update && apt-get install -y \
|
| 31 |
build-essential \
|
requirements.txt
CHANGED
|
@@ -161,4 +161,5 @@ youtube-dl==2021.12.17
|
|
| 161 |
uvicorn
|
| 162 |
yt-dlp==2023.10.13
|
| 163 |
gunicorn
|
|
|
|
| 164 |
zipp
|
|
|
|
| 161 |
uvicorn
|
| 162 |
yt-dlp==2023.10.13
|
| 163 |
gunicorn
|
| 164 |
+
gdown
|
| 165 |
zipp
|