VibecoderMcSwaggins commited on
Commit
e760d70
·
1 Parent(s): e4a1129

fix: require Gradio 6.0+ for css in launch() API

Browse files

Gradio 6.0 moved css parameter from Blocks() to launch().
This aligns the dependency with README.md sdk_version and
resolves CodeRabbit's warning about API compatibility.

Files changed (2) hide show
  1. pyproject.toml +1 -1
  2. requirements.txt +1 -1
pyproject.toml CHANGED
@@ -17,7 +17,7 @@ dependencies = [
17
  "beautifulsoup4>=4.12", # HTML parsing
18
  "xmltodict>=0.13", # PubMed XML -> dict
19
  # UI
20
- "gradio[mcp]>=5.32.0", # Chat interface with MCP server support
21
  # Utils
22
  "python-dotenv>=1.0", # .env loading
23
  "tenacity>=8.2", # Retry logic
 
17
  "beautifulsoup4>=4.12", # HTML parsing
18
  "xmltodict>=0.13", # PubMed XML -> dict
19
  # UI
20
+ "gradio[mcp]>=6.0.0", # Chat interface with MCP server support (6.0 required for css in launch())
21
  # Utils
22
  "python-dotenv>=1.0", # .env loading
23
  "tenacity>=8.2", # Retry logic
requirements.txt CHANGED
@@ -13,7 +13,7 @@ beautifulsoup4>=4.12
13
  xmltodict>=0.13
14
 
15
  # UI (Gradio with MCP server support)
16
- gradio[mcp]>=5.32.0
17
 
18
  # Utils
19
  python-dotenv>=1.0
 
13
  xmltodict>=0.13
14
 
15
  # UI (Gradio with MCP server support)
16
+ gradio[mcp]>=6.0.0
17
 
18
  # Utils
19
  python-dotenv>=1.0