Skip to content

Commit

Permalink
update from st.experiment_rerun to st.rerun
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralph Comia committed Nov 6, 2023
1 parent 82f8191 commit 6952899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/bot_orchestration/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def update_containers_info(docker_manager):
st.error(f"RPCClientTimeoutError: Could not connect to {bot}. Please review the connection.")
del st.session_state.active_bots[bot]
except RuntimeError:
st.experimental_rerun()
st.rerun()
st.session_state.active_bots = dict(
sorted(st.session_state.active_bots.items(), key=lambda x: x[1]['is_running'], reverse=True))
else:
Expand Down

0 comments on commit 6952899

Please sign in to comment.