Arabi32 commited on
Commit
cda4eca
·
verified ·
1 Parent(s): 452266e

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +5 -1
requirements.txt CHANGED
@@ -1,6 +1,10 @@
1
  # TTS engine
2
  coqui-tts>=0.22.0
3
 
 
 
 
 
4
  # Web framework
5
  fastapi>=0.111.0
6
  uvicorn[standard]>=0.29.0
@@ -8,4 +12,4 @@ python-multipart>=0.0.9
8
 
9
  # PyTorch CPU-only wheel (much smaller image, sufficient for inference)
10
  torch>=2.2.0
11
- torchaudio>=2.2.0
 
1
  # TTS engine
2
  coqui-tts>=0.22.0
3
 
4
+ # transformers >=4.38 removed `isin_mps_friendly` which coqui-tts still
5
+ # imports from transformers.pytorch_utils — pin to the last compatible release.
6
+ transformers>=4.33.0,<4.38.0
7
+
8
  # Web framework
9
  fastapi>=0.111.0
10
  uvicorn[standard]>=0.29.0
 
12
 
13
  # PyTorch CPU-only wheel (much smaller image, sufficient for inference)
14
  torch>=2.2.0
15
+ torchaudio>=2.2.0