Pouyae commited on
Commit
5ca97ba
·
1 Parent(s): 0b2b4c2

feat: Set MCP server

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. pyproject.toml +1 -1
app.py CHANGED
@@ -22,4 +22,4 @@ with gr.Blocks() as app:
22
  coin.change(fn=get_price, inputs=coin, outputs=output)
23
 
24
 
25
- app.launch()
 
22
  coin.change(fn=get_price, inputs=coin, outputs=output)
23
 
24
 
25
+ app.launch(mcp_server=True)
pyproject.toml CHANGED
@@ -5,6 +5,6 @@ description = "Add your description here"
5
  readme = "README.md"
6
  requires-python = ">=3.11"
7
  dependencies = [
8
- "gradio>=5.30.0",
9
  "requests>=2.32.3",
10
  ]
 
5
  readme = "README.md"
6
  requires-python = ">=3.11"
7
  dependencies = [
8
+ "gradio[mcp]>=5.30.0",
9
  "requests>=2.32.3",
10
  ]