peerawatchomp commited on
Commit
8483f6b
·
verified ·
1 Parent(s): 34ceab6

Update app.py

Browse files

fix huggingface token

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ class BasicAgent:
26
 
27
  llm = HuggingFaceEndpoint(
28
  repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
29
- huggingfacehub_api_token=HUGGINGFACEHUB_API_TOKEN,
30
  )
31
 
32
  search_tool = DuckDuckGoSearchRun()
 
26
 
27
  llm = HuggingFaceEndpoint(
28
  repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
29
+ huggingfacehub_api_token=os.environ.get("HUGGINGFACEHUB_API_TOKEN"),
30
  )
31
 
32
  search_tool = DuckDuckGoSearchRun()