Spaces:
Paused
Paused
Commit
·
08fdfa2
1
Parent(s):
da7f1f3
Update app.py
Browse files
app.py
CHANGED
@@ -202,6 +202,8 @@ if generate_button:
|
|
202 |
st.session_state.chat_history.append({"message": query_input, "is_user": True})
|
203 |
st.session_state.chat_history.append({"message": answer, "is_user": False})
|
204 |
|
|
|
|
|
205 |
|
206 |
clear_button = st.button("Start new convo",
|
207 |
on_click=clean_chat_history)
|
|
|
202 |
st.session_state.chat_history.append({"message": query_input, "is_user": True})
|
203 |
st.session_state.chat_history.append({"message": answer, "is_user": False})
|
204 |
|
205 |
+
print(st.session_state.chat_history)
|
206 |
+
|
207 |
|
208 |
clear_button = st.button("Start new convo",
|
209 |
on_click=clean_chat_history)
|