fix: use Transformers 5 with Gradio 6
Browse files- requirements.txt +2 -2
requirements.txt
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
# Gradio, spaces, and the ZeroGPU runtime are supplied by Hugging Face.
|
| 2 |
torch
|
| 3 |
torchvision
|
| 4 |
-
#
|
| 5 |
-
transformers==
|
| 6 |
accelerate>=1.0,<2
|
| 7 |
pillow>=10,<12
|
| 8 |
numpy>=2.1,<3
|
|
|
|
| 1 |
# Gradio, spaces, and the ZeroGPU runtime are supplied by Hugging Face.
|
| 2 |
torch
|
| 3 |
torchvision
|
| 4 |
+
# Transformers 5.x supports the Hub 1.x runtime bundled with Gradio 6.27.
|
| 5 |
+
transformers==5.17.0
|
| 6 |
accelerate>=1.0,<2
|
| 7 |
pillow>=10,<12
|
| 8 |
numpy>=2.1,<3
|