kaleidoskop-hug commited on
Commit
76c37db
·
verified ·
1 Parent(s): b7ab64c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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