pracheeeeez commited on
Commit
b222d40
·
verified ·
1 Parent(s): 34a6a40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def get_vectorstore(text_chunks):
37
 
38
  def get_conversation_chain(vectorstore):
39
  try:
40
- llm = HuggingFaceHub(repo_id="google/flan-t5-xxl", model_kwargs={"temperature": 0.5, "max_length": 512})
41
  memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
42
  conversation_chain = ConversationalRetrievalChain.from_llm(
43
  llm=llm,
 
37
 
38
  def get_conversation_chain(vectorstore):
39
  try:
40
+ llm = HuggingFaceHub(repo_id="google/flan-t5-xxl", model_kwargs={"temperature": 0.8, "max_length": 512})
41
  memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
42
  conversation_chain = ConversationalRetrievalChain.from_llm(
43
  llm=llm,