BoxOfColors Claude Sonnet 4.6 commited on
Commit
a99f759
·
1 Parent(s): 504eda5

Upgrade to Gradio 5.25.0 to fix ZeroGPU localhost error

Browse files

The "ValueError: When localhost is not accessible, a shareable link must
be created" is a known incompatibility between the spaces SDK proxy and
Gradio 4.44.x. Gradio 5 resolves this. Update sdk_version in README
and pin gradio==5.25.0 in requirements.txt.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

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: purple
6
  sdk: gradio
7
- sdk_version: "4.44.1"
8
  python_version: "3.10"
9
  app_file: app.py
10
  pinned: false
 
4
  colorFrom: blue
5
  colorTo: purple
6
  sdk: gradio
7
+ sdk_version: "5.25.0"
8
  python_version: "3.10"
9
  app_file: app.py
10
  pinned: false
requirements.txt CHANGED
@@ -13,6 +13,6 @@ timm==1.0.12
13
  transformers==4.47.0
14
  omegaconf
15
  spaces==0.48.1
16
- gradio==4.44.1
17
  pydantic==2.8.2
18
  av
 
13
  transformers==4.47.0
14
  omegaconf
15
  spaces==0.48.1
16
+ gradio==5.25.0
17
  pydantic==2.8.2
18
  av