vsj0702 commited on
Commit
f7026af
·
verified ·
1 Parent(s): e21b20b
Files changed (1) hide show
  1. chatbot.py +1 -1
chatbot.py CHANGED
@@ -123,7 +123,7 @@ def render_chatbot(code, output, error):
123
  if start_idx > 0:
124
  if st.button("🔽 Show more"):
125
  st.session_state.chat_display_count += 5
126
- st.experimental_rerun()
127
 
128
  # Newest first
129
  for q, a in reversed(visible_conversation):
 
123
  if start_idx > 0:
124
  if st.button("🔽 Show more"):
125
  st.session_state.chat_display_count += 5
126
+ st.rerun()
127
 
128
  # Newest first
129
  for q, a in reversed(visible_conversation):