crazydev919 commited on
Commit
39e3227
·
verified ·
1 Parent(s): 6395a0e

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -2
Dockerfile CHANGED
@@ -2,8 +2,21 @@ FROM python:3.11
2
 
3
  WORKDIR /app
4
  RUN apt-get update && apt-get install -y espeak-ng libespeak-ng-dev git ffmpeg
5
- COPY requirements.txt .
6
- RUN pip install --no-cache-dir -r requirements.txt
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  COPY app.py .
8
  EXPOSE 7860
9
  CMD ["python", "app.py"]
 
2
 
3
  WORKDIR /app
4
  RUN apt-get update && apt-get install -y espeak-ng libespeak-ng-dev git ffmpeg
5
+
6
+ RUN pip install --no-cache-dir \
7
+ torch torchaudio --index-url https://download.pytorch.org/whl/cpu
8
+
9
+ RUN pip install --no-cache-dir \
10
+ gradio==3.50.2 \
11
+ huggingface_hub==0.20.3 \
12
+ librosa soundfile \
13
+ phonemizer==3.3.0 \
14
+ munch pyyaml nltk \
15
+ einops einops-exts \
16
+ transformers==4.40.0 \
17
+ matplotlib \
18
+ git+https://github.com/resemble-ai/monotonic_align.git
19
+
20
  COPY app.py .
21
  EXPOSE 7860
22
  CMD ["python", "app.py"]