mythaitts commited on
Commit
bdd85b9
Β·
verified Β·
1 Parent(s): de2f8d1

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +9 -19
requirements.txt CHANGED
@@ -1,28 +1,18 @@
1
- # =============================================================================
2
- # MythAI STT β€” requirements.txt (OLD / COMPATIBLE VERSION for HF Spaces conflict)
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
- # ── Core ML / inference ──────────────────────────────────────────────────────
8
- transformers==4.51.3 # safe downgrade from 5.3.0 – avoids potential breaks
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
- # ── UI ───────────────────────────────────────────────────────────────────────
18
- gradio==4.44.1 # ← critical: matches what HF is forcing
19
 
20
- # ── Audio processing ─────────────────────────────────────────────────────────
21
- soundfile==0.13.1
22
- numpy==1.26.4 # compatible with torch 2.5.1
23
 
24
- # ── Whisper backend ──────────────────────────────────────────────────────────
25
- faster-whisper==1.0.1 # older but very reliable with Gradio 4.x
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