BoHuangLab commited on
Commit
060ee97
·
verified ·
1 Parent(s): 5e7868c

Let Spaces install gradio from sdk_version (5.9.1); fixes 500 on /

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. requirements.txt +4 -5
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🧬
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
 
4
  colorFrom: blue
5
  colorTo: indigo
6
  sdk: gradio
7
+ sdk_version: 5.9.1
8
  app_file: app.py
9
  pinned: false
10
  short_description: Predict condensate titration curves from an IDR sequence
requirements.txt CHANGED
@@ -14,11 +14,10 @@ tifffile==2024.9.20
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
 
14
  safetensors==0.4.5
15
  einops==0.8.0
16
  huggingface_hub>=0.24.6
17
+ # gradio is intentionally NOT pinned here: Spaces installs it from sdk_version in
18
+ # README.md together with a matching gradio_client. Pinning it here instead let the
19
+ # two drift, and gradio 4.44's client crashed in json_schema_to_python_type() on a
20
+ # bool `additionalProperties`, which 500s the "/" route while /config still serves.
 
21
 
22
  # pulled in by the vendored cell_fm modules
23
  loguru