Spaces:
Sleeping
Sleeping
Create requirements.txt
Browse files- requirements.txt +29 -0
requirements.txt
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# requirements.txt
|
| 2 |
+
|
| 3 |
+
# Main web interface
|
| 4 |
+
gradio>=3.30
|
| 5 |
+
|
| 6 |
+
# Core ML and audio libraries
|
| 7 |
+
torch>=2.0.0
|
| 8 |
+
torchaudio>=2.0.0
|
| 9 |
+
numpy>=1.24.0
|
| 10 |
+
soundfile>=0.12.1
|
| 11 |
+
scipy>=1.10.0
|
| 12 |
+
librosa>=0.10.1
|
| 13 |
+
accelerate>=0.22.0
|
| 14 |
+
|
| 15 |
+
# For local voice cloning models
|
| 16 |
+
coqui-tts>=0.23.0
|
| 17 |
+
transformers>=4.36.0
|
| 18 |
+
typing-extensions>=4.7.0
|
| 19 |
+
|
| 20 |
+
# Optional utilities
|
| 21 |
+
pydub>=0.25.1
|
| 22 |
+
ffmpeg-python>=0.2.0
|
| 23 |
+
|
| 24 |
+
# Notes:
|
| 25 |
+
# 1. Install with: pip install -r requirements.txt
|
| 26 |
+
# 2. Run app: python app.py
|
| 27 |
+
# 3. To use XTTS-v2 locally, you can let coqui-tts download it automatically the first time.
|
| 28 |
+
# 4. To use Bark, the transformers library will automatically fetch 'suno/bark' model.
|
| 29 |
+
# 5. No Hugging Face API token required — all runs are local once models are cached.
|