Noobian commited on
Commit
64c1b5e
1 Parent(s): 61534eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def pdf_to_text(pdf_file, query):
41
 
42
  index = vectorstore.as_retriever()
43
  #inference
44
- qa = VectorDBQA.from_chain_type(llm=llm, chain_type="stuff", vectorstore=vectorstore)
45
  from langchain.chains import RetrievalQA
46
  chain = RetrievalQA.from_chain_type(llm=llm,
47
  chain_type="stuff",
 
41
 
42
  index = vectorstore.as_retriever()
43
  #inference
44
+ #qa = VectorDBQA.from_chain_type(llm=llm, chain_type="stuff", vectorstore=vectorstore)
45
  from langchain.chains import RetrievalQA
46
  chain = RetrievalQA.from_chain_type(llm=llm,
47
  chain_type="stuff",