hunterXdk commited on
Commit
cd5eed1
1 Parent(s): 2d6e37a

removed return_only_outputs=True from response chain

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -76,8 +76,7 @@ def user_input(user_question):
76
  chain=get_conversation_chain()
77
 
78
  response = chain(
79
- {"input_documents": docs, "question": user_question}
80
- , return_only_outputs=True)
81
 
82
  print(response)
83
  st.write("Reply: ", response["output_text"])
 
76
  chain=get_conversation_chain()
77
 
78
  response = chain(
79
+ {"input_documents": docs, "question": user_question})
 
80
 
81
  print(response)
82
  st.write("Reply: ", response["output_text"])