Update requirements.txt
Browse files- requirements.txt +10 -5
requirements.txt
CHANGED
|
@@ -1,16 +1,15 @@
|
|
| 1 |
# Core repository
|
| 2 |
git+https://github.com/ai4bharat/IndicF5.git
|
| 3 |
|
|
|
|
|
|
|
|
|
|
| 4 |
# Essential runtime packages
|
| 5 |
scipy
|
| 6 |
librosa
|
| 7 |
soundfile
|
| 8 |
spaces
|
| 9 |
transformers<4.50
|
| 10 |
-
torchcodec
|
| 11 |
-
|
| 12 |
-
# Do NOT pin torch/torchaudio – ZeroGPU will pick ≥ 2.1
|
| 13 |
-
# We work around the torchcodec bug in code
|
| 14 |
accelerate>=0.33.0
|
| 15 |
cached_path
|
| 16 |
click
|
|
@@ -19,6 +18,7 @@ ema_pytorch>=0.5.2
|
|
| 19 |
hydra-core>=1.3.0
|
| 20 |
jieba
|
| 21 |
matplotlib
|
|
|
|
| 22 |
numpy<=1.26.4
|
| 23 |
pydub
|
| 24 |
pypinyin
|
|
@@ -29,4 +29,9 @@ tqdm>=4.65.0
|
|
| 29 |
transformers_stream_generator
|
| 30 |
vocos
|
| 31 |
wandb
|
| 32 |
-
x_transformers>=1.31.14
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Core repository
|
| 2 |
git+https://github.com/ai4bharat/IndicF5.git
|
| 3 |
|
| 4 |
+
# UI Framework (MISSING IN YOUR LIST - CRITICAL)
|
| 5 |
+
gradio
|
| 6 |
+
|
| 7 |
# Essential runtime packages
|
| 8 |
scipy
|
| 9 |
librosa
|
| 10 |
soundfile
|
| 11 |
spaces
|
| 12 |
transformers<4.50
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
accelerate>=0.33.0
|
| 14 |
cached_path
|
| 15 |
click
|
|
|
|
| 18 |
hydra-core>=1.3.0
|
| 19 |
jieba
|
| 20 |
matplotlib
|
| 21 |
+
# Pinning numpy is crucial to avoid compatibility issues with librosa/numba
|
| 22 |
numpy<=1.26.4
|
| 23 |
pydub
|
| 24 |
pypinyin
|
|
|
|
| 29 |
transformers_stream_generator
|
| 30 |
vocos
|
| 31 |
wandb
|
| 32 |
+
x_transformers>=1.31.14
|
| 33 |
+
|
| 34 |
+
# OPTIONAL: Torchcodec often causes build failures on Hugging Face Spaces.
|
| 35 |
+
# Since your code uses 'soundfile' to load audio, you likely don't need this.
|
| 36 |
+
# Uncomment only if you get specific errors requesting it.
|
| 37 |
+
torchcodec
|