Raghu commited on
Commit
13970c8
·
1 Parent(s): 6031652

Pin gradio 3.41.2 + gradio_client 0.5.1 to fix schema error

Browse files
Files changed (1) hide show
  1. requirements.txt +3 -2
requirements.txt CHANGED
@@ -2,8 +2,9 @@ torch>=2.0.0
2
  torchvision>=0.15.0
3
  transformers>=4.30.0
4
  easyocr>=1.7.0
5
- # Further downgrade Gradio to avoid json_schema issues on Spaces
6
- gradio==3.50.2
 
7
  Pillow>=9.0.0
8
  numpy>=1.21.0
9
  scikit-learn>=1.0.0
 
2
  torchvision>=0.15.0
3
  transformers>=4.30.0
4
  easyocr>=1.7.0
5
+ # Pin Gradio/gradio_client to a stable pair to avoid json_schema issues on Spaces
6
+ gradio==3.41.2
7
+ gradio_client==0.5.1
8
  Pillow>=9.0.0
9
  numpy>=1.21.0
10
  scikit-learn>=1.0.0