Update pages/2_Chatbot.py
Browse files- pages/2_Chatbot.py +2 -2
pages/2_Chatbot.py
CHANGED
|
@@ -24,8 +24,8 @@ if "messages" not in st.session_state:
|
|
| 24 |
st.session_state.messages = []
|
| 25 |
|
| 26 |
for msg in st.session_state.messages:
|
| 27 |
-
with st.chat_message(
|
| 28 |
-
st.markdown(
|
| 29 |
|
| 30 |
if prompt := st.chat_input():
|
| 31 |
if not IFC_API_KEY:
|
|
|
|
| 24 |
st.session_state.messages = []
|
| 25 |
|
| 26 |
for msg in st.session_state.messages:
|
| 27 |
+
with st.chat_message(msg["role"]):
|
| 28 |
+
st.markdown(msg["content"])
|
| 29 |
|
| 30 |
if prompt := st.chat_input():
|
| 31 |
if not IFC_API_KEY:
|