Gradio troubles

#1
by applemuncy - opened
Hugging Face MCP Course org

After looking at git history, I see a struggle to get gradio running.
Work in progress i assume.
-applemuncy

Hugging Face MCP Course org

I am getting error like below:
๐Ÿท๏ธ Starting process_webhoook_comment...
๐Ÿ“ Comment content: This model should have tags: pytorch, text-generation
๐Ÿ“ฐ Discussion title: Add pytorch tag
๐Ÿ“ฆ Repository: burtenshaw/play-mcp-repo-bot
๐Ÿ” Comment tags found: ['pytorch', 'text-generation']
๐Ÿ” Title tags found: ['pytorch']
๐Ÿท๏ธ All unique tags: ['pyttorch', 'text-generation']
๐Ÿค– Getting agent instance...
๐Ÿค– get_agent() called...
๐Ÿ”ง Creating new Agent instance...
๐Ÿ”‘ HF_TOKEN present: True
๐Ÿค– Model: microsoft/DialoGPT-medium
๐Ÿ”— Provider: hf-inference
โœ… Agent instance created successfully
๐Ÿ”ง Loading tools...
โŒ Error creating/loading agent:
โŒ Error: Agent not configured (missing HF_TOKEN)

How to fix the above error. I defined HF_TOKEN in .env file but it shows it's missing.

Sign up or log in to comment