Spaces:
Runtime error
Runtime error
alba.saco
commited on
Commit
•
8480bdb
1
Parent(s):
e05df7c
dockerfile update
Browse files
.DS_Store
DELETED
Binary file (6.15 kB)
|
|
.gitignore
CHANGED
@@ -1 +1,2 @@
|
|
1 |
-
env/
|
|
|
|
1 |
+
env/
|
2 |
+
.DS_Store
|
Dockerfile
CHANGED
@@ -1,13 +1,29 @@
|
|
1 |
-
FROM python:3.10
|
2 |
|
3 |
-
WORKDIR /code
|
|
|
4 |
|
5 |
-
COPY ./requirements.txt /code/requirements.txt
|
6 |
|
7 |
RUN apt-get update && apt-get install -y git
|
8 |
|
|
|
|
|
|
|
|
|
9 |
RUN git submodule update --init --recursive
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
RUN pip install torch
|
12 |
|
13 |
RUN pip install wheel
|
|
|
1 |
+
FROM python:3.10 AS builder
|
2 |
|
3 |
+
# WORKDIR /code
|
4 |
+
WORKDIR /home/user/app
|
5 |
|
6 |
+
# COPY ./requirements.txt /code/requirements.txt
|
7 |
|
8 |
RUN apt-get update && apt-get install -y git
|
9 |
|
10 |
+
# RUN git clone https://github.com/your-username/your-repository.git .
|
11 |
+
|
12 |
+
RUN git clone https://albasaco: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@huggingface.co/spaces/createsafe/yachtiocraft
|
13 |
+
|
14 |
RUN git submodule update --init --recursive
|
15 |
|
16 |
+
# Stage 2
|
17 |
+
|
18 |
+
FROM python:3.10
|
19 |
+
|
20 |
+
WORKDIR /home/user/app
|
21 |
+
|
22 |
+
# Copy files from the builder stage
|
23 |
+
COPY --from=builder /home/user/app /home/user/app
|
24 |
+
|
25 |
+
COPY ./requirements.txt /home/user/app/requirements.txt
|
26 |
+
|
27 |
RUN pip install torch
|
28 |
|
29 |
RUN pip install wheel
|
cs-pretrained/.DS_Store
DELETED
Binary file (6.15 kB)
|
|
cs-pretrained/drums_model/compression_state_dict.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:9162a1657102bbf636d7e5e3d2d8bfaee2b149aa46798f83a0475092fa4068c2
|
3 |
-
size 1052
|
|
|
|
|
|
|
|
cs-pretrained/drums_model/state_dict.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:6407dbfe28d8a3cdfd0a5cd37d58705ebe01c87ec3f9022cc8236db6b60b7450
|
3 |
-
size 840844522
|
|
|
|
|
|
|
|
cs-pretrained/stem_model/compression_state_dict.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:f6d75141562f87be2ad0dda5bff40d1a0fa1d9872c19dcefca04511a42b471ea
|
3 |
-
size 1052
|
|
|
|
|
|
|
|
cs-pretrained/stem_model/state_dict.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:a7f3c43c9cacd19b66d36f873ae0e1a1cca50ad80572d7270b14836ef348020d
|
3 |
-
size 840844394
|
|
|
|
|
|
|
|