GenAICoder commited on
Commit
d070945
·
verified ·
1 Parent(s): 0866e35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -115,7 +115,8 @@ def get_conversational_chain(retriever):
115
  #from langchain_community.llms import HuggingFaceHub
116
 
117
  llm = HuggingFaceHub(
118
- repo_id="HuggingFaceH4/zephyr-7b-beta",
 
119
  huggingfacehub_api_token=os.getenv("HUGGINGFACE_API_KEY"),
120
  task="text-generation",
121
  )
 
115
  #from langchain_community.llms import HuggingFaceHub
116
 
117
  llm = HuggingFaceHub(
118
+ #repo_id="HuggingFaceH4/zephyr-7b-beta",
119
+ repo_id = "mistralai/Mistral-7B-v0.1",
120
  huggingfacehub_api_token=os.getenv("HUGGINGFACE_API_KEY"),
121
  task="text-generation",
122
  )