Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -163,7 +163,7 @@ graph = builder.compile()
|
|
| 163 |
st.set_page_config(page_title="Math Chatbot",layout="centered")
|
| 164 |
st.title("Math Chatbot")
|
| 165 |
|
| 166 |
-
for msg in st.
|
| 167 |
with st.chat_message(msg["role"]):
|
| 168 |
st.markdown(msg["content"])
|
| 169 |
|
|
|
|
| 163 |
st.set_page_config(page_title="Math Chatbot",layout="centered")
|
| 164 |
st.title("Math Chatbot")
|
| 165 |
|
| 166 |
+
for msg in st.session_state.chat_history:
|
| 167 |
with st.chat_message(msg["role"]):
|
| 168 |
st.markdown(msg["content"])
|
| 169 |
|