External Publication
Visit Post

Where to set environment variable for mcp-client tutorial?

Hugging Face Forums [Unofficial] March 24, 2026
Source

I am following the tutorial: Gradio as an MCP Client

Where can I set the environment variable after creating the access token such that it can run in the space? model = InferenceClientModel(token=os.getenv(“HUGGINGFACE_API_TOKEN”))

Discussion in the ATmosphere

Loading comments...