Update app.py
Browse files
app.py
CHANGED
|
@@ -170,7 +170,7 @@ def handle_userinput(user_question ):
|
|
| 170 |
|
| 171 |
|
| 172 |
# Invoke conversation chain
|
| 173 |
-
response = st.session_state.conversation
|
| 174 |
st.session_state.chat_history.append({"role": "assistant", "content": response})
|
| 175 |
|
| 176 |
for i, message in enumerate(st.session_state.chat_history):
|
|
|
|
| 170 |
|
| 171 |
|
| 172 |
# Invoke conversation chain
|
| 173 |
+
response = st.session_state.conversation({"question": user_question})
|
| 174 |
st.session_state.chat_history.append({"role": "assistant", "content": response})
|
| 175 |
|
| 176 |
for i, message in enumerate(st.session_state.chat_history):
|