Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +11 -20
requirements.txt
CHANGED
|
@@ -1,21 +1,12 @@
|
|
| 1 |
-
#
|
| 2 |
-
|
| 3 |
-
uvicorn[standard]>=0.27.0
|
| 4 |
-
pydantic>=2.5.0
|
| 5 |
-
|
| 6 |
-
# Audio processing (required)
|
| 7 |
-
torch>=2.0.0
|
| 8 |
-
torchaudio>=2.0.0
|
| 9 |
-
|
| 10 |
-
# OpenVoice (includes MeloTTS and most audio dependencies)
|
| 11 |
-
git+https://github.com/myshell-ai/OpenVoice.git
|
| 12 |
-
|
| 13 |
-
# HTTP requests
|
| 14 |
-
requests>=2.31.0
|
| 15 |
-
|
| 16 |
-
# Hugging Face integration
|
| 17 |
huggingface-hub>=0.20.0
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
python-multipart
|
| 21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# IndexTTS2 and dependencies
|
| 2 |
+
git+https://github.com/index-tts/index-tts.git
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
huggingface-hub>=0.20.0
|
| 4 |
+
fastapi==0.104.1
|
| 5 |
+
uvicorn==0.24.0
|
| 6 |
+
python-multipart==0.0.6
|
| 7 |
+
requests==2.31.0
|
| 8 |
+
numpy==1.26.2
|
| 9 |
+
|
| 10 |
+
# Use CPU wheels by default; HF GPU image will still use CUDA when available.
|
| 11 |
+
torch>=2.8 --index-url https://download.pytorch.org/whl/cpu
|
| 12 |
+
torchaudio>=2.8 --index-url https://download.pytorch.org/whl/cpu
|