Update requirements.txt
Browse files- requirements.txt +18 -4
requirements.txt
CHANGED
|
@@ -1,9 +1,23 @@
|
|
| 1 |
-
# ✅
|
| 2 |
onnxruntime==1.21.0
|
| 3 |
-
|
|
|
|
| 4 |
https://github.com/KittenML/KittenTTS/releases/download/0.8.1/kittentts-0.8.1-py3-none-any.whl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
sentence-transformers==3.4.1
|
|
|
|
|
|
|
|
|
|
| 6 |
numpy<2.0
|
| 7 |
soundfile==0.13.1
|
| 8 |
-
|
| 9 |
-
|
|
|
|
| 1 |
+
# ✅ CPU-only ONNX Runtime FIRST (prevents 7GB GPU bloat)
|
| 2 |
onnxruntime==1.21.0
|
| 3 |
+
|
| 4 |
+
# ✅ KittenTTS v0.8.1
|
| 5 |
https://github.com/KittenML/KittenTTS/releases/download/0.8.1/kittentts-0.8.1-py3-none-any.whl
|
| 6 |
+
|
| 7 |
+
# ✅ PyTorch CPU-only (for Gemma 3)
|
| 8 |
+
--extra-index-url https://download.pytorch.org/whl/cpu
|
| 9 |
+
torch==2.6.0+cpu
|
| 10 |
+
|
| 11 |
+
# ✅ Transformers for Gemma 3
|
| 12 |
+
transformers>=4.49.0
|
| 13 |
+
accelerate>=1.3.0
|
| 14 |
+
|
| 15 |
+
# ✅ Sentence Transformers (fallback option)
|
| 16 |
sentence-transformers==3.4.1
|
| 17 |
+
|
| 18 |
+
# ✅ Other deps
|
| 19 |
+
flask==3.1.1
|
| 20 |
numpy<2.0
|
| 21 |
soundfile==0.13.1
|
| 22 |
+
num2words==0.5.14
|
| 23 |
+
huggingface_hub>=0.27.0
|