modifying reqs.txt adding sox
Browse files- Dockerfile +3 -1
- app.py +1 -1
- requirements.txt +4 -35
Dockerfile
CHANGED
@@ -10,7 +10,9 @@ WORKDIR /code
|
|
10 |
|
11 |
COPY ./requirements.txt /code/requirements.txt
|
12 |
|
13 |
-
RUN pip install --
|
|
|
|
|
14 |
|
15 |
|
16 |
# Set up a new user named "user" with user ID 1000
|
|
|
10 |
|
11 |
COPY ./requirements.txt /code/requirements.txt
|
12 |
|
13 |
+
RUN pip install --upgrade pip
|
14 |
+
RUN pip install --no-cache-dir numpy typing_extensions
|
15 |
+
RUN pip install --no-cache-dir -r /code/requirements.txt
|
16 |
|
17 |
|
18 |
# Set up a new user named "user" with user ID 1000
|
app.py
CHANGED
@@ -71,7 +71,7 @@ class SourceSeparationApp:
|
|
71 |
["samples/844424933481805-705-m.wav", "samples/844424932691175-645-f.wav","0"],
|
72 |
["samples/844424931281875-277-f.wav", "samples/844424930801214-277-f.wav","1"],
|
73 |
],
|
74 |
-
).launch()
|
75 |
|
76 |
|
77 |
if __name__ == "__main__":
|
|
|
71 |
["samples/844424933481805-705-m.wav", "samples/844424932691175-645-f.wav","0"],
|
72 |
["samples/844424931281875-277-f.wav", "samples/844424930801214-277-f.wav","1"],
|
73 |
],
|
74 |
+
).launch(server_name="0.0.0.0", server_port=7860)
|
75 |
|
76 |
|
77 |
if __name__ == "__main__":
|
requirements.txt
CHANGED
@@ -1,38 +1,7 @@
|
|
1 |
-
|
2 |
fire==0.4.0
|
3 |
-
gradio==4.24.0
|
4 |
-
gradio_client==0.14.0
|
5 |
-
grpcio==1.62.1
|
6 |
-
h11==0.14.0
|
7 |
-
h5py==3.10.0
|
8 |
-
httpcore==1.0.5
|
9 |
-
httpx==0.27.0
|
10 |
-
librosa==0.10.1
|
11 |
-
numpy==1.22.4
|
12 |
-
omegaconf==2.0.5
|
13 |
-
python-magic==0.4.27
|
14 |
-
python-multipart==0.0.9
|
15 |
-
PyYAML==6.0.1
|
16 |
-
s3prl==0.3.1
|
17 |
sklearn==0.0
|
18 |
-
|
19 |
-
soupsieve==2.5
|
20 |
-
sox==1.4.1
|
21 |
-
soxr==0.3.7
|
22 |
-
speechbrain==1.0.0
|
23 |
-
sentencepiece==0.1.96
|
24 |
-
torch==1.9.0
|
25 |
-
torch-optimizer==0.3.0
|
26 |
-
torch-stoi==0.2.1
|
27 |
torchaudio==0.9.0
|
28 |
-
|
29 |
-
|
30 |
-
triton==2.2.0
|
31 |
-
typer==0.11.1
|
32 |
-
typing_extensions==4.10.0
|
33 |
-
tzdata==2024.1
|
34 |
-
urllib3==2.2.1
|
35 |
-
utility-helper==0.1.2
|
36 |
-
uvicorn==0.29.0
|
37 |
-
validators==0.22.0
|
38 |
-
Werkzeug==3.0.1
|
|
|
1 |
+
scipy==1.7.1
|
2 |
fire==0.4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
sklearn==0.0
|
4 |
+
s3prl==0.3.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
torchaudio==0.9.0
|
6 |
+
sentencepiece==0.1.96
|
7 |
+
gradio
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|