Spaces:
Runtime error
Runtime error
Update app.py
Browse filesadd my mcp sentiment server
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import os
|
|
| 4 |
from smolagents import InferenceClientModel, CodeAgent, MCPClient
|
| 5 |
|
| 6 |
|
| 7 |
-
with MCPClient({"url": "https://
|
| 8 |
tools = mcp_client.get_tools()
|
| 9 |
|
| 10 |
model = InferenceClientModel(token=os.getenv("HUGGINGFACE_API_TOKEN"))
|
|
|
|
| 4 |
from smolagents import InferenceClientModel, CodeAgent, MCPClient
|
| 5 |
|
| 6 |
|
| 7 |
+
with MCPClient({"url": "https://jossoft-mcp-sentiment.hf.space/gradio_api/mcp/sse"}) as mcp_client:
|
| 8 |
tools = mcp_client.get_tools()
|
| 9 |
|
| 10 |
model = InferenceClientModel(token=os.getenv("HUGGINGFACE_API_TOKEN"))
|