aaron1141 commited on
Commit
8675864
·
1 Parent(s): bafa4e5

fix: upgrade to gradio 5.25 to fix bool-schema TypeError in gradio_client

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. requirements.txt +4 -0
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🔬
4
  colorFrom: blue
5
  colorTo: green
6
  sdk: gradio
7
- sdk_version: 5.9.1
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
 
4
  colorFrom: blue
5
  colorTo: green
6
  sdk: gradio
7
+ sdk_version: 5.25.0
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
requirements.txt CHANGED
@@ -4,3 +4,7 @@ open-dataflow[pdf2vqa] @ git+https://github.com/OpenDCAI/DataFlow.git
4
  # Runtime dependencies used by curate_data.py
5
  json5
6
  pandas
 
 
 
 
 
4
  # Runtime dependencies used by curate_data.py
5
  json5
6
  pandas
7
+
8
+ # Pin gradio>=5.10 to avoid the bool-schema crash in gradio_client/utils.py
9
+ # (open-dataflow requires gradio>5, HF Spaces pins to sdk_version above)
10
+ gradio>=5.10.0