Spaces:
Runtime error
Runtime error
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
|
| 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)
|