BoHuangLab commited on
Commit
5827da8
·
verified ·
1 Parent(s): 6e7dc7d

Pin gradio/gradio_client together to fix the startup schema crash

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. requirements.txt +5 -1
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🧬
4
  colorFrom: blue
5
  colorTo: indigo
6
  sdk: gradio
7
- sdk_version: 4.44.0
8
  app_file: app.py
9
  pinned: false
10
  short_description: Predict condensate titration curves from an IDR sequence
 
4
  colorFrom: blue
5
  colorTo: indigo
6
  sdk: gradio
7
+ sdk_version: 4.44.1
8
  app_file: app.py
9
  pinned: false
10
  short_description: Predict condensate titration curves from an IDR sequence
requirements.txt CHANGED
@@ -14,7 +14,11 @@ tifffile==2024.9.20
14
  safetensors==0.4.5
15
  einops==0.8.0
16
  huggingface_hub>=0.24.6
17
- gradio>=4.44.0
 
 
 
 
18
 
19
  # pulled in by the vendored cell_fm modules
20
  loguru
 
14
  safetensors==0.4.5
15
  einops==0.8.0
16
  huggingface_hub>=0.24.6
17
+ # gradio and gradio_client must be pinned together: a floating client hits
18
+ # json_schema_to_python_type() crashing on a bool `additionalProperties` schema,
19
+ # which takes the app down at startup rather than at build time.
20
+ gradio==4.44.1
21
+ gradio_client==1.3.0
22
 
23
  # pulled in by the vendored cell_fm modules
24
  loguru