Spaces:
Sleeping
Sleeping
Kaelan
commited on
Commit
·
d5fbbd4
1
Parent(s):
308c707
ready
Browse files- .env +0 -1
- dockerfile +16 -9
.env
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
secret_key='super secret key'
|
|
|
|
dockerfile
CHANGED
@@ -13,15 +13,6 @@ 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
|
@@ -39,6 +30,22 @@ RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
|
|
39 |
|
40 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
EXPOSE 5000
|
43 |
EXPOSE 3000
|
44 |
EXPOSE 7860
|
|
|
13 |
COPY --from=build-step /yolov-app/build ./build
|
14 |
COPY . /yolov-app
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
#RUN cp /yolov-app/public/uploads/cafe_fall.mp4 /yolov-app/build/static/cafe_fall.mp4
|
17 |
#RUN cp /yolov-app/public/uploads/kitchen.mp4 /yolov-app/build/static/kitchen.mp4
|
18 |
#RUN cp /yolov-app/public/uploads/skate.mp4 /yolov-app/build/static/skate.mp4
|
|
|
30 |
|
31 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
32 |
|
33 |
+
RUN gdown https://drive.google.com/file/d/1lBlZEh0v-WVUJsBb3ZJcUG8zxe5cckWT/view?usp=sharing --fuzzy -O checkpoints/
|
34 |
+
#ckpt.t7
|
35 |
+
RUN gdown https://drive.google.com/file/d/14T5lpdJ0dPndYkMKr0sUcSq_myQDQSda/view?usp=sharing --fuzzy -O checkpoints/best181-8376/
|
36 |
+
#ckpt_latest.pth
|
37 |
+
|
38 |
+
RUN gdown https://drive.google.com/file/d/1pIDLMr0UUj_6fWYf9xHJ1lcKcCgmO7Vv/view?usp=sharing --fuzzy -O build/static/
|
39 |
+
#kitchen.mp4
|
40 |
+
RUN gdown https://drive.google.com/file/d/1ip07Lngcicd7pouKs_b0OhpVVoVFRC7U/view?usp=sharing --fuzzy -O build/static/
|
41 |
+
#slip.mp4
|
42 |
+
RUN gdown https://drive.google.com/file/d/1s93CZeEKEp_SwO5Y4KOjNYK0zWBgNiy7/view?usp=sharing --fuzzy -O build/static/
|
43 |
+
#studycam.mp4
|
44 |
+
RUN gdown https://drive.google.com/file/d/1lZNim3Sl_dQN6gcyEvddRLeijM6v-pO5/view?usp=sharing --fuzzy -O build/static/
|
45 |
+
#cafe_fall.mp4
|
46 |
+
RUN gdown https://drive.google.com/file/d/1Ru6ARgQOtshVgSUosFiH7GFRyRM-_R5U/view?usp=sharing --fuzzy -O build/static/
|
47 |
+
#skate.mp4
|
48 |
+
|
49 |
EXPOSE 5000
|
50 |
EXPOSE 3000
|
51 |
EXPOSE 7860
|