kaleidoskop-hug
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -105,6 +105,7 @@ if st.session_state.remove:
|
|
105 |
lastmessage = st.session_state.messages.pop()
|
106 |
prelastmessage = st.session_state.messages.pop()
|
107 |
st.toast("popped msg: " + lastmessage["content"] + " // model: " + model_links[selected_model])
|
|
|
108 |
st.rerun()
|
109 |
|
110 |
|
|
|
105 |
lastmessage = st.session_state.messages.pop()
|
106 |
prelastmessage = st.session_state.messages.pop()
|
107 |
st.toast("popped msg: " + lastmessage["content"] + " // model: " + model_links[selected_model])
|
108 |
+
st.session_state.remove = False
|
109 |
st.rerun()
|
110 |
|
111 |
|