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

fix: use Transformers 5 with Gradio 6

Browse files
Files changed (1) hide show
  1. 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
- # 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
 
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