Spaces:
Runtime error
Runtime error
arnold-anand
commited on
Commit
•
924d899
1
Parent(s):
2ecea88
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def get_vectorstore(text_chunks):
|
|
32 |
|
33 |
def get_conversation_chain(vectorstore):
|
34 |
# llm = HuggingFaceHub(repo_id="google/flan-t5-xxl")
|
35 |
-
llm = ChatOpenAI(max_tokens=
|
36 |
memory = ConversationBufferMemory(
|
37 |
memory_key='chat_history', return_messages=True)
|
38 |
conversation_chain = ConversationalRetrievalChain.from_llm(
|
|
|
32 |
|
33 |
def get_conversation_chain(vectorstore):
|
34 |
# llm = HuggingFaceHub(repo_id="google/flan-t5-xxl")
|
35 |
+
llm = ChatOpenAI(max_tokens=2000)
|
36 |
memory = ConversationBufferMemory(
|
37 |
memory_key='chat_history', return_messages=True)
|
38 |
conversation_chain = ConversationalRetrievalChain.from_llm(
|