From f4d99cc2d68cf024eb5a18464d5bb4eadcd8f271 Mon Sep 17 00:00:00 2001 From: Baptiste Belescot <47362338+bbelescot@users.noreply.github.com> Date: Thu, 31 Oct 2024 13:02:34 +0100 Subject: [PATCH] use rerun now that it comes in streamlit --- spacy_streamlit/visualizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy_streamlit/visualizer.py b/spacy_streamlit/visualizer.py index 6685713..73a29ad 100644 --- a/spacy_streamlit/visualizer.py +++ b/spacy_streamlit/visualizer.py @@ -49,7 +49,7 @@ def visualize( st.config.set_option("theme.primaryColor", color) # Necessary to apply theming - st.experimental_rerun() + st.rerun() if show_logo: st.sidebar.markdown(LOGO, unsafe_allow_html=True)