Add CPU PyTorch + transformers for HF Space builds
Browse files- requirements.txt +5 -0
requirements.txt
CHANGED
|
@@ -5,3 +5,8 @@ srt==3.5.3
|
|
| 5 |
ffmpeg-python==0.2.0
|
| 6 |
python-dotenv
|
| 7 |
Flask==3.0.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
|