Update requirements.txt
Browse files- requirements.txt +13 -31
requirements.txt
CHANGED
|
@@ -1,19 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Core ML/AI packages
|
| 2 |
torch>=2.0.0,<3.0.0
|
| 3 |
-
torchvision>=0.15.0,<1.0.0
|
| 4 |
-
torchaudio>=2.0.0,<3.0.0
|
| 5 |
transformers>=4.30.0,<5.0.0
|
| 6 |
tokenizers>=0.13.0,<1.0.0
|
| 7 |
accelerate>=0.20.0,<1.0.0
|
| 8 |
safetensors>=0.3.0,<1.0.0
|
| 9 |
|
| 10 |
-
# Web frameworks
|
| 11 |
-
gradio==4.42.0
|
| 12 |
-
gradio-client==1.3.0
|
| 13 |
-
flask>=2.3.0,<4.0.0
|
| 14 |
-
fastapi>=0.111,<0.114
|
| 15 |
-
uvicorn[standard]>=0.23.0
|
| 16 |
-
|
| 17 |
# Hugging Face
|
| 18 |
huggingface_hub>=0.20.0,<1.0.0
|
| 19 |
|
|
@@ -22,36 +16,24 @@ numpy>=1.21.0,<2.0.0
|
|
| 22 |
pandas>=1.3.0,<3.0.0
|
| 23 |
scipy>=1.7.0,<2.0.0
|
| 24 |
scikit-learn>=1.0.0,<2.0.0
|
| 25 |
-
python-dateutil>=2.8.0
|
| 26 |
|
| 27 |
# Audio processing
|
| 28 |
soundfile>=0.12.0,<1.0.0
|
| 29 |
librosa>=0.10.0,<1.0.0
|
| 30 |
pydub>=0.25.0
|
| 31 |
-
webrtcvad>=2.0.0
|
| 32 |
ffmpeg-python>=0.2.0,<1.0.0
|
| 33 |
|
| 34 |
-
# Speech analysis
|
| 35 |
-
batchalign
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
# Visualization
|
| 40 |
-
matplotlib>=3.5.0,<4.0.0
|
| 41 |
-
seaborn>=0.11.0,<1.0.0
|
| 42 |
|
| 43 |
-
#
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
werkzeug>=2.3.0
|
| 48 |
-
jinja2>=3.1.0
|
| 49 |
|
| 50 |
# Utilities
|
| 51 |
jsonlines>=3.0.0
|
| 52 |
-
setuptools<81
|
| 53 |
-
typing-extensions>=4.0.0
|
| 54 |
-
|
| 55 |
-
# Optional for better performance
|
| 56 |
-
gunicorn>=21.0.0 # Production WSGI server
|
| 57 |
-
gevent>=23.0.0 # Async support for Flask
|
|
|
|
| 1 |
+
# Web framework
|
| 2 |
+
flask>=2.3.0,<4.0.0
|
| 3 |
+
|
| 4 |
# Core ML/AI packages
|
| 5 |
torch>=2.0.0,<3.0.0
|
|
|
|
|
|
|
| 6 |
transformers>=4.30.0,<5.0.0
|
| 7 |
tokenizers>=0.13.0,<1.0.0
|
| 8 |
accelerate>=0.20.0,<1.0.0
|
| 9 |
safetensors>=0.3.0,<1.0.0
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
# Hugging Face
|
| 12 |
huggingface_hub>=0.20.0,<1.0.0
|
| 13 |
|
|
|
|
| 16 |
pandas>=1.3.0,<3.0.0
|
| 17 |
scipy>=1.7.0,<2.0.0
|
| 18 |
scikit-learn>=1.0.0,<2.0.0
|
|
|
|
| 19 |
|
| 20 |
# Audio processing
|
| 21 |
soundfile>=0.12.0,<1.0.0
|
| 22 |
librosa>=0.10.0,<1.0.0
|
| 23 |
pydub>=0.25.0
|
|
|
|
| 24 |
ffmpeg-python>=0.2.0,<1.0.0
|
| 25 |
|
| 26 |
+
# Speech analysis - try specific versions that work better on CPU
|
| 27 |
+
batchalign==0.6.0
|
| 28 |
+
openai-whisper==20231117
|
| 29 |
+
praat-parselmouth>=0.4.0
|
| 30 |
+
praatio>=6.0.0
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
+
# Additional dependencies that might help with batchalign
|
| 33 |
+
jiwer>=3.0.0
|
| 34 |
+
textgrid>=1.5
|
| 35 |
+
pympi-ling>=1.70
|
|
|
|
|
|
|
| 36 |
|
| 37 |
# Utilities
|
| 38 |
jsonlines>=3.0.0
|
| 39 |
+
setuptools<81
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|