kingkw1 commited on
Commit
c493dbb
·
verified ·
1 Parent(s): 22f50a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
20
  # ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
21
  llm = HuggingFaceEndpoint(
22
  repo_id = "Qwen/Qwen2.5-Coder-32B-Instruct",
23
- huggingfacehub_api_token=HUGGINGFACEHUB_API_TOKEN,
24
  )
25
 
26
  chat = ChatHuggingFace(llm=llm, verbose=True)
 
20
  # ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
21
  llm = HuggingFaceEndpoint(
22
  repo_id = "Qwen/Qwen2.5-Coder-32B-Instruct",
23
+ huggingfacehub_api_token=os.environ.get("HUGGINGFACEHUB_API_TOKEN"),
24
  )
25
 
26
  chat = ChatHuggingFace(llm=llm, verbose=True)