pracheeeeez commited on
Commit
07006c3
·
verified ·
1 Parent(s): c252209

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def get_vectorestore(text_chunks):
32
  vectorestore = FAISS.from_texts(texts=text_chunks, embedding= embeddings)
33
  return vectorestore
34
 
35
- def get_conversation_chain(vectorstore):
36
  llm = HuggingFaceHub(repo_id="google/flan-t5-xxl", model_kwargs={"temperature":0.5, "max_length":512})
37
  memory = ConversationalBufferMemory(memory_key="chat_history", return_message= True)
38
  conversation_chain = ConversationalRetrievalChain.from_llm(
 
32
  vectorestore = FAISS.from_texts(texts=text_chunks, embedding= embeddings)
33
  return vectorestore
34
 
35
+ def get_conversation_chain(vectorstore):
36
  llm = HuggingFaceHub(repo_id="google/flan-t5-xxl", model_kwargs={"temperature":0.5, "max_length":512})
37
  memory = ConversationalBufferMemory(memory_key="chat_history", return_message= True)
38
  conversation_chain = ConversationalRetrievalChain.from_llm(