Gradio / agent.py
largo
Working the deploy
99b2259
raw
history blame
347 Bytes
import os
from huggingface_hub import Agent
agent = Agent(
model="Qwen/Qwen2.5-72B-Instruct",
provider="nebius",
servers=[
{
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:7860/gradio_api/mcp/sse" # Your Gradio MCP server
]
}
],
)