david-oplatka commited on
Commit
1d1d635
·
verified ·
1 Parent(s): a1f13fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -143,6 +143,7 @@ def launch_bot():
143
 
144
  if st.button("Opt out"):
145
  st.session_state.cookies['opt-out'] = 'true'
 
146
  st.rerun()
147
 
148
  st.markdown(f"<center> <h2> Vectara AI Assistant: {cfg.title} </h2> </center>", unsafe_allow_html=True)
 
143
 
144
  if st.button("Opt out"):
145
  st.session_state.cookies['opt-out'] = 'true'
146
+ st.session_state.cookies.save()
147
  st.rerun()
148
 
149
  st.markdown(f"<center> <h2> Vectara AI Assistant: {cfg.title} </h2> </center>", unsafe_allow_html=True)