betki commited on
Commit
3ea36fb
·
verified ·
1 Parent(s): dc4fb77

Local mcp server

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -7,9 +7,8 @@ from smolagents.mcp_client import MCPClient
7
 
8
 
9
  try:
10
- mcp_client = MCPClient(
11
- {"url": "https://betki-mcp-sentiment.hf.space/gradio_api/mcp/sse"}
12
- #{"url": "http://localhost:7860/gradio_api/mcp/sse"}
13
  )
14
  tools = mcp_client.get_tools()
15
 
 
7
 
8
 
9
  try:
10
+ mcp_client = MCPClient(
11
+ {"url": "http://localhost:7860/gradio_api/mcp/sse"}
 
12
  )
13
  tools = mcp_client.get_tools()
14