gadhalevy commited on
Commit
a4ae272
·
1 Parent(s): 06b70fd

tts dependencies

Browse files
Files changed (2) hide show
  1. Dockerfile +8 -2
  2. requirements.txt +3 -3
Dockerfile CHANGED
@@ -40,8 +40,14 @@ RUN pip install --no-cache-dir torch torchvision torchaudio --index-url https://
40
  # Main dependencies
41
  RUN pip install --no-cache-dir streamlit pydub matplotlib requests python-dotenv
42
 
43
- # Coqui TTS + Transformers dependencies
44
- RUN pip install --no-cache-dir TTS==0.22.0 transformers sentencepiece accelerate
 
 
 
 
 
 
45
 
46
  # ---------- Clone SadTalker ----------
47
  RUN git clone https://github.com/OpenTalker/SadTalker.git /app/SadTalker \
 
40
  # Main dependencies
41
  RUN pip install --no-cache-dir streamlit pydub matplotlib requests python-dotenv
42
 
43
+
44
+ # Coqui TTS + compatible Transformers versions
45
+ RUN pip install --no-cache-dir TTS==0.22.0 \
46
+ transformers==4.36.2 \
47
+ sentencepiece==0.2.0 \
48
+ accelerate==0.25.0
49
+
50
+
51
 
52
  # ---------- Clone SadTalker ----------
53
  RUN git clone https://github.com/OpenTalker/SadTalker.git /app/SadTalker \
requirements.txt CHANGED
@@ -1,8 +1,8 @@
1
  streamlit
2
  TTS==0.22.0
3
- transformers
4
- sentencepiece
5
- accelerate
6
  pydub
7
  matplotlib
8
  numpy
 
1
  streamlit
2
  TTS==0.22.0
3
+ transformers==4.36.2
4
+ sentencepiece==0.2.0
5
+ accelerate==0.25.0
6
  pydub
7
  matplotlib
8
  numpy