Update requirements.txt
Browse files- requirements.txt +7 -6
requirements.txt
CHANGED
|
@@ -1,11 +1,12 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
# Core ML libraries with specific versions to avoid conflicts
|
| 4 |
torch>=2.6.0
|
| 5 |
torchaudio>=2.1.0
|
| 6 |
transformers>=4.30.0
|
| 7 |
accelerate>=0.20.0
|
| 8 |
|
|
|
|
|
|
|
|
|
|
| 9 |
# Updated versions for compatibility
|
| 10 |
gradio>=4.44.1
|
| 11 |
numpy>=1.21.0
|
|
@@ -20,13 +21,13 @@ datasets>=2.14.0
|
|
| 20 |
peft>=0.6.0
|
| 21 |
safetensors>=0.3.0
|
| 22 |
|
| 23 |
-
#
|
| 24 |
descript-audio-codec>=1.0.0
|
| 25 |
-
|
| 26 |
|
| 27 |
# Utilities
|
| 28 |
requests>=2.28.0
|
| 29 |
python-dotenv>=1.0.0
|
| 30 |
|
| 31 |
-
# Install Dia TTS directly from
|
| 32 |
git+https://github.com/nari-labs/dia.git
|
|
|
|
| 1 |
+
# Core ML libraries
|
|
|
|
|
|
|
| 2 |
torch>=2.6.0
|
| 3 |
torchaudio>=2.1.0
|
| 4 |
transformers>=4.30.0
|
| 5 |
accelerate>=0.20.0
|
| 6 |
|
| 7 |
+
# FIXED: Pin pydantic to stable version to avoid Gradio crash
|
| 8 |
+
pydantic==2.10.6
|
| 9 |
+
|
| 10 |
# Updated versions for compatibility
|
| 11 |
gradio>=4.44.1
|
| 12 |
numpy>=1.21.0
|
|
|
|
| 21 |
peft>=0.6.0
|
| 22 |
safetensors>=0.3.0
|
| 23 |
|
| 24 |
+
# Dia TTS dependencies
|
| 25 |
descript-audio-codec>=1.0.0
|
| 26 |
+
huggingface_hub>=0.16.0
|
| 27 |
|
| 28 |
# Utilities
|
| 29 |
requests>=2.28.0
|
| 30 |
python-dotenv>=1.0.0
|
| 31 |
|
| 32 |
+
# Install Dia TTS directly from git
|
| 33 |
git+https://github.com/nari-labs/dia.git
|