vankhieu commited on
Commit
b98c5c4
·
1 Parent(s): 60cc0ad

update url

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -8,8 +8,12 @@ from smolagents.mcp_client import MCPClient
8
  try:
9
  mcp_client = MCPClient(
10
  ## Try this working example on the hub:
11
- {"url": "https://abidlabs-mcp-tools.hf.space/gradio_api/mcp/sse"}
12
- #{"url": "http://localhost:7860/gradio_api/mcp/sse"}
 
 
 
 
13
  )
14
  tools = mcp_client.get_tools()
15
 
 
8
  try:
9
  mcp_client = MCPClient(
10
  ## Try this working example on the hub:
11
+ {
12
+ "transport": "sse",
13
+ "url": "https://vankhieu-mcp-sentiment.hf.space/gradio_api/mcp/sse",
14
+ #"url": "http://localhost:7860/gradio_api/mcp/sse"
15
+ }
16
+
17
  )
18
  tools = mcp_client.get_tools()
19