anishde commited on
Commit
ee5976d
1 Parent(s): 316bbe0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def generate_response(history, query):
59
  else:
60
  # Relevant information found, proceed with the chain
61
  # result=chain.run(input_documents=doc, question=query)
62
- result=chain.run(input_documents=doc, question=query).splitlines()
63
  res=result[-1]
64
  # print(chain.run(input_documents=doc, question=query))
65
  print(res)
 
59
  else:
60
  # Relevant information found, proceed with the chain
61
  # result=chain.run(input_documents=doc, question=query)
62
+ result=chain.run(input_documents=doc, question=query).split()
63
  res=result[-1]
64
  # print(chain.run(input_documents=doc, question=query))
65
  print(res)