ofermend commited on
Commit
21a434f
1 Parent(s): 3911511
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -127,6 +127,7 @@ def launch_bot():
127
  st.session_state.agent = initialize_agent(cfg)
128
  st.session_state.log_messages = []
129
  st.session_state.prompt = None
 
130
  st.session_state.first_turn = True
131
  st.session_state.show_logs = False
132
 
@@ -184,6 +185,7 @@ def launch_bot():
184
  with bc1:
185
  if st.button('Start Over'):
186
  reset()
 
187
 
188
  st.markdown("---")
189
  st.markdown(
 
127
  st.session_state.agent = initialize_agent(cfg)
128
  st.session_state.log_messages = []
129
  st.session_state.prompt = None
130
+ st.session_state.ex_prompt = None
131
  st.session_state.first_turn = True
132
  st.session_state.show_logs = False
133
 
 
185
  with bc1:
186
  if st.button('Start Over'):
187
  reset()
188
+ st.rerun()
189
 
190
  st.markdown("---")
191
  st.markdown(