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