Update requirements.txt with torch, torchvision, and transformers CPU versions
Browse files- requirements.txt +5 -4
requirements.txt
CHANGED
|
@@ -5,13 +5,14 @@ srt==3.5.3
|
|
| 5 |
ffmpeg-python==0.2.0
|
| 6 |
python-dotenv
|
| 7 |
Flask==3.0.3
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
# PyTorch CPU wheels and transformers (for HF Space)
|
| 10 |
--find-links https://download.pytorch.org/whl/cpu/torch_stable.html
|
| 11 |
torch==2.2.0+cpu
|
|
|
|
| 12 |
transformers==4.37.2
|
| 13 |
|
| 14 |
-
# PyTorch CPU wheels (needed for torchvision)
|
| 15 |
-
--find-links https://download.pytorch.org/whl/cpu/torch_stable.html
|
| 16 |
-
torch==2.2.0+cpu
|
| 17 |
-
torchvision==0.17.0+cpu
|
|
|
|
| 5 |
ffmpeg-python==0.2.0
|
| 6 |
python-dotenv
|
| 7 |
Flask==3.0.3
|
| 8 |
+
numpy>=1.26
|
| 9 |
+
|
| 10 |
+
# Whisper for audio transcription / subtitles
|
| 11 |
+
openai-whisper==20240930
|
| 12 |
|
| 13 |
# PyTorch CPU wheels and transformers (for HF Space)
|
| 14 |
--find-links https://download.pytorch.org/whl/cpu/torch_stable.html
|
| 15 |
torch==2.2.0+cpu
|
| 16 |
+
torchvision==0.17.0+cpu
|
| 17 |
transformers==4.37.2
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|