Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +17 -3
Dockerfile
CHANGED
@@ -6,8 +6,24 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
6 |
build-essential \
|
7 |
&& rm -rf /var/lib/apt/lists/*
|
8 |
RUN pip install --no-cache-dir pip==24.0
|
9 |
-
RUN pip install --no-cache-dir gradio==4.31.5
|
10 |
RUN pip install --no-cache-dir \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
omegaconf==2.0.6 \
|
12 |
hydra-core==1.0.7 \
|
13 |
cython \
|
@@ -18,8 +34,6 @@ RUN pip install --no-cache-dir \
|
|
18 |
sacrebleu \
|
19 |
scikit-learn
|
20 |
RUN pip install --no-cache-dir --no-deps git+https://github.com/pytorch/fairseq.git
|
21 |
-
COPY requirements.txt .
|
22 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
23 |
COPY . .
|
24 |
EXPOSE 7860
|
25 |
CMD ["python", "app.py"]
|
|
|
6 |
build-essential \
|
7 |
&& rm -rf /var/lib/apt/lists/*
|
8 |
RUN pip install --no-cache-dir pip==24.0
|
|
|
9 |
RUN pip install --no-cache-dir \
|
10 |
+
gradio==4.31.5 \
|
11 |
+
numpy \
|
12 |
+
scipy \
|
13 |
+
librosa \
|
14 |
+
numba \
|
15 |
+
pyworld \
|
16 |
+
soundfile>=0.12.1 \
|
17 |
+
praat-parselmouth>=0.4.2 \
|
18 |
+
torchcrepe \
|
19 |
+
onnxruntime \
|
20 |
+
faiss-cpu \
|
21 |
+
demucs \
|
22 |
+
edge-tts \
|
23 |
+
yt_dlp \
|
24 |
+
httpx \
|
25 |
+
tensorboard \
|
26 |
+
tensorboardX \
|
27 |
omegaconf==2.0.6 \
|
28 |
hydra-core==1.0.7 \
|
29 |
cython \
|
|
|
34 |
sacrebleu \
|
35 |
scikit-learn
|
36 |
RUN pip install --no-cache-dir --no-deps git+https://github.com/pytorch/fairseq.git
|
|
|
|
|
37 |
COPY . .
|
38 |
EXPOSE 7860
|
39 |
CMD ["python", "app.py"]
|