Update requirements.txt
Browse files- requirements.txt +3 -3
requirements.txt
CHANGED
|
@@ -4,7 +4,8 @@
|
|
| 4 |
Flask==3.0.3
|
| 5 |
pillow==10.2.0
|
| 6 |
opencv-python==4.9.0.80
|
| 7 |
-
|
|
|
|
| 8 |
srt==3.5.3
|
| 9 |
ffmpeg-python==0.2.0
|
| 10 |
python-dotenv
|
|
@@ -19,5 +20,4 @@ openai-whisper==20231117
|
|
| 19 |
--find-links https://download.pytorch.org/whl/cpu/torch_stable.html
|
| 20 |
torch==2.2.0+cpu
|
| 21 |
torchvision==0.17.0+cpu
|
| 22 |
-
transformers==4.37.2
|
| 23 |
-
|
|
|
|
| 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
|
|
|
|
| 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
|
|
|