lee-ite commited on
Commit
af14062
·
verified ·
1 Parent(s): 649e74c

Update pages/2_Chatbot.py

Browse files
Files changed (1) hide show
  1. 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(message["role"]):
28
- st.markdown(message["content"])
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: