Commit ·
6bb258d
1
Parent(s): 21b3d6d
Force-install TTS via yaml deps
Browse files- huggingface.yaml +6 -1
huggingface.yaml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
# huggingface.yaml
|
| 2 |
resources:
|
| 3 |
cpu: "2"
|
| 4 |
memory: "8Gi"
|
|
@@ -9,3 +8,9 @@ scaling:
|
|
| 9 |
|
| 10 |
# Tell HF to use handler.py
|
| 11 |
entrypoint: handler.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
resources:
|
| 2 |
cpu: "2"
|
| 3 |
memory: "8Gi"
|
|
|
|
| 8 |
|
| 9 |
# Tell HF to use handler.py
|
| 10 |
entrypoint: handler.py
|
| 11 |
+
|
| 12 |
+
# Force-install these pip packages in the container
|
| 13 |
+
dependencies:
|
| 14 |
+
- pip install --upgrade pip
|
| 15 |
+
- pip install TTS==0.21.1
|
| 16 |
+
- pip install fastapi==0.110.0 uvicorn==0.29.0 soundfile==0.12.1 numpy==1.26.4 transformers==4.38.1
|