Spaces:
Runtime error
Runtime error
Create myagen.py
Browse files
myagen.py
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
|
3 |
+
from huggingface_hub import Agent
|
4 |
+
|
5 |
+
agent = Agent(
|
6 |
+
model="Qwen/Qwen2.5-72B-Instruct",
|
7 |
+
provider="nebius",
|
8 |
+
servers=[
|
9 |
+
{
|
10 |
+
"command": "npx",
|
11 |
+
"args": [
|
12 |
+
"mcp-remote",
|
13 |
+
"https://sankalpit-mcp-sentiment.hf.space/gradio_api/mcp/sse"
|
14 |
+
]
|
15 |
+
}
|
16 |
+
],
|
17 |
+
)
|