darshan8950 commited on
Commit
978db0c
·
verified ·
1 Parent(s): ba16aec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def main():
51
 
52
  vectorstore.save_local(DB_FAISS_PATH)
53
 
54
- chain= etrievalQA.from_chain_type(llm=llm, chain_type = "stuff",return_source_documents=True, retriever=vectorstore.as_retriever())
55
  result=chain(query)
56
 
57
  st.write(result['result'])
 
51
 
52
  vectorstore.save_local(DB_FAISS_PATH)
53
 
54
+ chain= retrievalQA.from_chain_type(llm=llm, chain_type = "stuff",return_source_documents=True, retriever=vectorstore.as_retriever())
55
  result=chain(query)
56
 
57
  st.write(result['result'])