Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
)
|