Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +8 -5
requirements.txt
CHANGED
|
@@ -1,9 +1,12 @@
|
|
| 1 |
gradio==6.5.1
|
| 2 |
-
transformers==4.40.0
|
| 3 |
torch==2.10.0
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
| 5 |
sentencepiece==0.1.99
|
| 6 |
-
safetensors=
|
| 7 |
-
huggingface_hub=
|
| 8 |
-
|
|
|
|
| 9 |
python-multipart==0.0.22
|
|
|
|
| 1 |
gradio==6.5.1
|
|
|
|
| 2 |
torch==2.10.0
|
| 3 |
+
# Updated transformers to match the 2026 PyTorch version
|
| 4 |
+
transformers>=4.50.0
|
| 5 |
+
# Updated accelerate to match the new transformers/torch
|
| 6 |
+
accelerate>=1.2.0
|
| 7 |
sentencepiece==0.1.99
|
| 8 |
+
safetensors>=0.4.3
|
| 9 |
+
huggingface_hub>=0.33.5
|
| 10 |
+
# Numpy 1.x is usually required for compatibility, but check if PyTorch 2.10 requires 2.0
|
| 11 |
+
numpy<2.0.0
|
| 12 |
python-multipart==0.0.22
|