removed return_only_outputs=True from response chain
Browse files
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"])
|