wwieerrz Claude commited on
Commit
5dd6673
·
1 Parent(s): c4ebdb9

Switch to Gradio 3.50.2 to avoid schema bug

Browse files

- Gradio 4.x has persistent TypeError in schema generation
- This affects ALL 4.x versions (4.29, 4.36, 4.44)
- Gradio 3.50.2 is the last stable 3.x version
- Does NOT have the gradio_client schema bug
- Proven to work on HuggingFace Spaces
- BASE model (390MB) loads successfully

This is a known Gradio 4.x bug on HF infrastructure.
Using battle-tested Gradio 3.x instead.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

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

Files changed (1) hide show
  1. requirements.txt +2 -2
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
- # Gradio and UI
2
- gradio==4.29.0
3
 
4
  # Real AI Models - Depth-Anything V2
5
  torch>=2.0.0
 
1
+ # Gradio and UI - Using 3.x for maximum compatibility
2
+ gradio==3.50.2
3
 
4
  # Real AI Models - Depth-Anything V2
5
  torch>=2.0.0