banyudu commited on
Commit
cce0f90
·
unverified ·
1 Parent(s): f16a004

chore: update the environment variable name

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ try:
11
  )
12
  tools = mcp_client.get_tools()
13
 
14
- model = InferenceClientModel(token=os.getenv("HUGGINGFACE_API_TOKEN"))
15
  agent = CodeAgent(tools=[*tools], model=model, additional_authorized_imports=["json", "ast", "urllib", "base64"])
16
 
17
  demo = gr.ChatInterface(
 
11
  )
12
  tools = mcp_client.get_tools()
13
 
14
+ model = InferenceClientModel(token=os.getenv("HF_TOKEN"))
15
  agent = CodeAgent(tools=[*tools], model=model, additional_authorized_imports=["json", "ast", "urllib", "base64"])
16
 
17
  demo = gr.ChatInterface(