kaleidoskop-hug
commited on
Commit
•
531ed05
1
Parent(s):
f786670
Update app.py
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ def remove_message(position):
|
|
95 |
# Display chat messages from history on app rerun
|
96 |
pos = 0
|
97 |
for message in st.session_state.messages:
|
98 |
-
pos
|
99 |
with st.chat_message(message["role"]):
|
100 |
col1, col2 = st.columns([9,1])
|
101 |
col1.markdown(message["content"])
|
|
|
95 |
# Display chat messages from history on app rerun
|
96 |
pos = 0
|
97 |
for message in st.session_state.messages:
|
98 |
+
pos=pos+1
|
99 |
with st.chat_message(message["role"]):
|
100 |
col1, col2 = st.columns([9,1])
|
101 |
col1.markdown(message["content"])
|