Claude commited on
Commit
9b62d57
·
unverified ·
1 Parent(s): 3a6d22d

Pin Space to gradio 6.19.0 to fix startup crash

Browse files

gradio 5.9.1's API-info generator (gradio_client json_schema_to_python_type)
crashes on gr.JSON component schemas with "TypeError: argument of type
'bool' is not iterable", which fails the Space's startup health check
("localhost is not accessible") and exits the container. The app was
developed and browser-verified against gradio 6.19.0, where this is
fixed, so pin sdk_version (and the local dev floor) to match.

Files changed (2) hide show
  1. README.md +1 -1
  2. requirements.txt +1 -1
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 📄
4
  colorFrom: blue
5
  colorTo: gray
6
  sdk: gradio
7
- sdk_version: 5.9.1
8
  app_file: app.py
9
  pinned: false
10
  license: mit
 
4
  colorFrom: blue
5
  colorTo: gray
6
  sdk: gradio
7
+ sdk_version: 6.19.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- gradio>=5.0.0
2
  pymupdf>=1.24.0
3
  pytesseract>=0.3.10
4
  pillow>=10.0.0
 
1
+ gradio>=6.0.0
2
  pymupdf>=1.24.0
3
  pytesseract>=0.3.10
4
  pillow>=10.0.0