sankalpit commited on
Commit
eaaf86a
·
verified ·
1 Parent(s): f68b2d7

Create myagen.py

Browse files
Files changed (1) hide show
  1. myagen.py +17 -0
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
+ )