junaid-simamdigital commited on
Commit
2a5d4ae
·
verified ·
1 Parent(s): 03f2ee0

fix: pin transformers for Gradio Hub compatibility

Browse files
Files changed (1) hide show
  1. 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
- transformers>=4.46,<5
 
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