Vageesh1 commited on
Commit
052326a
·
1 Parent(s): 92b36a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ if user_api_key is not None and user_api_key.strip() != "":
33
  #setting up the LLM
34
  repo_id = "tiiuae/falcon-7b-instruct"
35
  chain = ConversationalRetrievalChain.from_llm(
36
- llm = HuggingFaceHub(huggingfacehub_api_token=huggingfacehub_api_token,
37
  repo_id=repo_id,
38
  model_kwargs={"temperature":0.6, "max_new_tokens":2000}))
39
 
 
33
  #setting up the LLM
34
  repo_id = "tiiuae/falcon-7b-instruct"
35
  chain = ConversationalRetrievalChain.from_llm(
36
+ llm = HuggingFaceHub(huggingfacehub_api_token=user_api_key,
37
  repo_id=repo_id,
38
  model_kwargs={"temperature":0.6, "max_new_tokens":2000}))
39