Update requirements.txt
Browse files- requirements.txt +3 -18
requirements.txt
CHANGED
|
@@ -1,23 +1,8 @@
|
|
| 1 |
-
|
| 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 |
-
|
| 13 |
-
|
| 14 |
-
yt-dlp==2023.12.30
|
| 15 |
-
|
| 16 |
-
# --- Whisper for Subtitles ---
|
| 17 |
-
openai-whisper==20231117
|
| 18 |
-
|
| 19 |
-
# --- PyTorch CPU for AI models on HF Spaces ---
|
| 20 |
-
--find-links https://download.pytorch.org/whl/cpu/torch_stable.html
|
| 21 |
-
torch==2.2.0+cpu
|
| 22 |
-
torchvision==0.17.0+cpu
|
| 23 |
-
transformers==4.37.2
|
|
|
|
| 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|