melromyeah commited on
Commit
cabae07
·
verified ·
1 Parent(s): a805cd8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -28
Dockerfile CHANGED
@@ -6,34 +6,8 @@ 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 \
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 \
30
- bitarray \
31
- regex \
32
- tqdm \
33
- cffi \
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"]
 
6
  build-essential \
7
  && rm -rf /var/lib/apt/lists/*
8
  RUN pip install --no-cache-dir pip==24.0
9
+ COPY requirements.txt .
10
+ RUN pip install --no-cache-dir -r requirements.txt
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  COPY . .
12
  EXPOSE 7860
13
  CMD ["python", "app.py"]