peerawatchomp commited on
Commit
52ba83d
·
verified ·
1 Parent(s): ec360aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ class BasicAgent:
34
 
35
  llm = HuggingFaceEndpoint(
36
  repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
37
- huggingfacehub_api_token=HUGGINGFACEHUB_API_TOKEN,
38
  )
39
 
40
  chat = ChatHuggingFace(llm=llm, verbose=True)
 
34
 
35
  llm = HuggingFaceEndpoint(
36
  repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
37
+ huggingfacehub_api_token=os.environ.get("HUGGINGFACEHUB_API_TOKEN"),
38
  )
39
 
40
  chat = ChatHuggingFace(llm=llm, verbose=True)