Spaces:
Runtime error
Runtime error
Update app.py
#2
by
wlchee
- opened
app.py
CHANGED
|
@@ -7,7 +7,7 @@ from smolagents import InferenceClientModel, CodeAgent, ToolCollection, MCPClien
|
|
| 7 |
|
| 8 |
try:
|
| 9 |
mcp_client = MCPClient(
|
| 10 |
-
{"url": "https://
|
| 11 |
)
|
| 12 |
tools = mcp_client.get_tools()
|
| 13 |
|
|
|
|
| 7 |
|
| 8 |
try:
|
| 9 |
mcp_client = MCPClient(
|
| 10 |
+
{"url": "https://baxin-newssearch-mcp.hf.space/gradio_api/mcp/sse"} # This is the MCP Server we created in the previous section
|
| 11 |
)
|
| 12 |
tools = mcp_client.get_tools()
|
| 13 |
|