hyo37009 commited on
Commit
b64426b
ยท
1 Parent(s): 7aeef37
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -103,7 +103,7 @@ def handle_userinput(user_question):
103
  # ๋Œ€ํ™” ๊ธฐ๋ก์„ ์ €์žฅํ•ฉ๋‹ˆ๋‹ค.
104
  st.session_state['chat_history'] = response['chat_history']
105
 
106
- for i, message in enumerate(st.session_state.chat_history):
107
  if i % 2 == 0:
108
  st.write(user_template.replace(
109
  "{{MSG}}", message.content), unsafe_allow_html=True)
 
103
  # ๋Œ€ํ™” ๊ธฐ๋ก์„ ์ €์žฅํ•ฉ๋‹ˆ๋‹ค.
104
  st.session_state['chat_history'] = response['chat_history']
105
 
106
+ for i, message in enumerate(st.session_state['chat_history']):
107
  if i % 2 == 0:
108
  st.write(user_template.replace(
109
  "{{MSG}}", message.content), unsafe_allow_html=True)