jhh6576 commited on
Commit
43ab975
·
verified ·
1 Parent(s): 4800b87

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +21 -4
requirements.txt CHANGED
@@ -1,8 +1,25 @@
1
- gradio==3.43.0
2
- pillow==10.2.0
 
 
 
3
  opencv-python==4.9.0.80
 
 
4
  srt==3.5.3
5
  ffmpeg-python==0.2.0
6
  python-dotenv
7
- Flask==3.0.3
8
- numpy>=1.26
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # requirements.txt
2
+
3
+ # --- Core Web and Image Libraries ---
4
+ Flask==3.0.3
5
+ Pillow==10.2.0
6
  opencv-python==4.9.0.80
7
+ # --- FIX: Pin NumPy to version 1.x to maintain compatibility with OpenCV ---
8
+ numpy>=1.26,<2.0
9
  srt==3.5.3
10
  ffmpeg-python==0.2.0
11
  python-dotenv
12
+ # --- Production Web Server for Docker ---
13
+ gunicorn
14
+
15
+ # --- YouTube Video Downloader ---
16
+ yt-dlp==2023.12.30
17
+
18
+ # --- Whisper for Subtitles ---
19
+ openai-whisper==20231117
20
+
21
+ # --- PyTorch CPU for AI models on HF Spaces ---
22
+ --find-links https://download.pytorch.org/whl/cpu/torch_stable.html
23
+ torch==2.2.0+cpu
24
+ torchvision==0.17.0+cpu
25
+ transformers==4.37.2