manuelcozar55 commited on
Commit
2cde75c
·
verified ·
1 Parent(s): e988252

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ llm = HuggingFaceEndpoint(
20
  max_new_tokens=4096,
21
  temperature=0.5,
22
  do_sample=False,
23
- token=HUGGINGFACE_TOKEN
24
  )
25
  llm_engine_hf = ChatHuggingFace(llm=llm)
26
 
 
20
  max_new_tokens=4096,
21
  temperature=0.5,
22
  do_sample=False,
23
+ model_kwargs={"token": HUGGINGFACE_TOKEN}
24
  )
25
  llm_engine_hf = ChatHuggingFace(llm=llm)
26