Mandark-droid commited on
Commit
8a6de74
·
1 Parent(s): 06e55c2

revert: Roll back to Gradio 5.49.1 due to HF Spaces infrastructure incompatibility

Browse files

Gradio 6.0.0.dev4 requires mcp>=1.21.0, but HuggingFace Spaces
infrastructure hardcodes mcp==1.8.1, causing a dependency conflict:

ERROR: Cannot install gradio[mcp,oauth]==6.0.0.dev4 because these
package versions have conflicting dependencies.

Reverting to Gradio 5.49.1 until HF Spaces updates their infrastructure
to support Gradio 6.

The SSE ASGI errors remain an issue with Gradio 5.49.1 on HF Spaces,
but the server will at least build and deploy successfully.

Recommendation: Use local deployment with share=True for reliable
MCP tool calls until HF Spaces infrastructure is updated.

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: 6.0.0.dev4
8
  app_port: 7860
9
  pinned: false
10
  license: agpl-3.0
 
4
  colorFrom: blue
5
  colorTo: purple
6
  sdk: gradio
7
+ sdk_version: 5.49.1
8
  app_port: 7860
9
  pinned: false
10
  license: agpl-3.0
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
  # Core dependencies
2
- gradio[mcp]==6.0.0.dev4
3
  google-generativeai>=0.8.0
4
  datasets>=2.14.0
5
  pandas>=2.0.0
 
1
  # Core dependencies
2
+ gradio[mcp]==5.49.1
3
  google-generativeai>=0.8.0
4
  datasets>=2.14.0
5
  pandas>=2.0.0