Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,7 @@ def get_conversation_chain(vectorstore):
|
|
| 52 |
|
| 53 |
|
| 54 |
def handle_userinput(user_question):
|
| 55 |
-
response = st.session_state.conversation({'question': user_question})
|
| 56 |
st.session_state.chat_history = response['chat_history']
|
| 57 |
|
| 58 |
for i, message in enumerate(st.session_state.chat_history):
|
|
|
|
| 52 |
|
| 53 |
|
| 54 |
def handle_userinput(user_question):
|
| 55 |
+
response = st.session_state.conversation({'question': user_question}) # Add the dictionary argument
|
| 56 |
st.session_state.chat_history = response['chat_history']
|
| 57 |
|
| 58 |
for i, message in enumerate(st.session_state.chat_history):
|