Update requirements.txt
Browse files- requirements.txt +9 -19
requirements.txt
CHANGED
|
@@ -1,28 +1,18 @@
|
|
| 1 |
-
#
|
| 2 |
-
#
|
| 3 |
-
# Gradio 4.44.1 pinned to match injected HF install command
|
| 4 |
-
# Python 3.10+ | CPU-only | March 2026 downgrade fix
|
| 5 |
-
# =============================================================================
|
| 6 |
|
| 7 |
-
#
|
| 8 |
-
|
| 9 |
-
torch==2.5.1 # very stable with whisperx / faster-whisper on CPU
|
| 10 |
torchaudio==2.5.1
|
| 11 |
|
| 12 |
-
# ββ Web server βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 13 |
fastapi==0.115.12
|
| 14 |
uvicorn[standard]==0.34.0
|
| 15 |
python-multipart==0.0.20
|
| 16 |
|
| 17 |
-
|
| 18 |
-
gradio==4.44.1 # β critical: matches what HF is forcing
|
| 19 |
|
| 20 |
-
#
|
| 21 |
-
|
| 22 |
-
numpy==1.26.4 # compatible with torch 2.5.1
|
| 23 |
|
| 24 |
-
#
|
| 25 |
-
faster-whisper
|
| 26 |
-
whisperx==3.1.5 # matches your original setup
|
| 27 |
-
|
| 28 |
-
# ββ (no extras like webrtcvad or ffmpeg-python β not needed)
|
|
|
|
| 1 |
+
# MythAI STT β requirements.txt (simple text-only, no timestamps, no faster-whisper)
|
| 2 |
+
# Compatible with Gradio 4.44.1 injection on HF Spaces
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
+
transformers==4.51.3 # Required by openai-whisper anyway
|
| 5 |
+
torch==2.5.1
|
|
|
|
| 6 |
torchaudio==2.5.1
|
| 7 |
|
|
|
|
| 8 |
fastapi==0.115.12
|
| 9 |
uvicorn[standard]==0.34.0
|
| 10 |
python-multipart==0.0.20
|
| 11 |
|
| 12 |
+
gradio==4.44.1
|
|
|
|
| 13 |
|
| 14 |
+
soundfile==0.13.1 # For handling mic input in Gradio
|
| 15 |
+
numpy==1.26.4
|
|
|
|
| 16 |
|
| 17 |
+
openai-whisper==20240930 # β latest stable version (or just 'whisper')
|
| 18 |
+
# No faster-whisper, no whisperx needed anymore
|
|
|
|
|
|
|
|
|