Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,9 @@ from smolagents import InferenceClientModel, CodeAgent, ToolCollection, MCPClien
|
|
6 |
|
7 |
try:
|
8 |
mcp_client = MCPClient(
|
9 |
-
{
|
|
|
|
|
10 |
)
|
11 |
|
12 |
tools = mcp_client.get_tools()
|
|
|
6 |
|
7 |
try:
|
8 |
mcp_client = MCPClient(
|
9 |
+
{
|
10 |
+
"url": "https://betki-mcp-sentiment.hf.space/gradio_api/mcp/sse"
|
11 |
+
}
|
12 |
)
|
13 |
|
14 |
tools = mcp_client.get_tools()
|