Spaces:
Runtime error
Runtime error
Commit
·
1504d42
1
Parent(s):
3955b51
Update app1.py
Browse files
app1.py
CHANGED
@@ -37,7 +37,7 @@ def get_vectorstore(text_chunks):
|
|
37 |
|
38 |
|
39 |
def get_conversation_chain(vectorstore):
|
40 |
-
llm = HuggingFaceHub(repo_id="
|
41 |
|
42 |
memory = ConversationBufferMemory(
|
43 |
memory_key='chat_history', return_messages=True)
|
|
|
37 |
|
38 |
|
39 |
def get_conversation_chain(vectorstore):
|
40 |
+
llm = HuggingFaceHub(repo_id="google/flan-t5-xxl", model_kwargs={"temperature":0.2, "max_length":1024})
|
41 |
|
42 |
memory = ConversationBufferMemory(
|
43 |
memory_key='chat_history', return_messages=True)
|