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