suraj-ml-projects commited on
Commit
cd6d2da
·
verified ·
1 Parent(s): 2c04832

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +37 -12
requirements.txt CHANGED
@@ -1,12 +1,37 @@
1
- streamlit==1.33.0
2
- moviepy==1.0.3
3
- imageio-ffmpeg==0.4.9
4
-
5
- openai-whisper
6
- torch
7
-
8
- transformers
9
- sentencepiece
10
- numpy<2
11
- scipy
12
- edge-tts
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ─────────────────────────────────────────────
2
+ # Movie Dubber — requirements.txt
3
+ # Hugging Face Spaces (CPU-only)
4
+ # ─────────────────────────────────────────────
5
+
6
+ # Web framework
7
+ streamlit>=1.32.0
8
+
9
+ # Speech recognition (fast CPU-optimised Whisper)
10
+ faster-whisper>=1.0.0
11
+
12
+ # Translation (Helsinki-NLP MarianMT)
13
+ transformers>=4.40.0
14
+ sentencepiece>=0.1.99 # required by MarianMT tokenizer
15
+ sacremoses>=0.1.1 # required by some MarianMT models
16
+
17
+ # Text-to-Speech (gTTS — free, no API key)
18
+ gTTS>=2.5.1
19
+
20
+ # Audio processing
21
+ pydub>=0.25.1
22
+ librosa>=0.10.1
23
+ soundfile>=0.12.1 # librosa backend
24
+
25
+ # Video processing (ffmpeg Python wrapper)
26
+ # Note: ffmpeg binary is pre-installed on HF Spaces
27
+ # If running locally: brew install ffmpeg / apt install ffmpeg
28
+ ffmpeg-python>=0.2.0
29
+
30
+ # ML runtime
31
+ torch>=2.2.0 # CPU build is fine
32
+ # Note: on HF Spaces the CPU torch is already available;
33
+ # no need to specify --index-url for CPU here.
34
+
35
+ # Utilities
36
+ numpy>=1.24.0
37
+ tqdm>=4.66.0