chatbytes commited on
Commit
4e13334
·
verified ·
1 Parent(s): fd7cb70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def text_extract(file):
45
  qa = RetrievalQA.from_chain_type(
46
  llm=llm, chain_type="stuff", retriever=retriever, return_source_documents=True
47
  )
48
- result1 = qa.invoke(({"query":}))
49
  print("FitBot:",result1['result'])
50
  # Split extracted text into chunks
51
  # result = helper(text_splitter) # Call helper to process text chunks
 
45
  qa = RetrievalQA.from_chain_type(
46
  llm=llm, chain_type="stuff", retriever=retriever, return_source_documents=True
47
  )
48
+ result1 = qa.invoke(({"how r u"}))
49
  print("FitBot:",result1['result'])
50
  # Split extracted text into chunks
51
  # result = helper(text_splitter) # Call helper to process text chunks