From 263e1f05291182855242743febe4e32bd9a2bcdf Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sat, 19 Sep 2020 13:36:42 +0200 Subject: [PATCH] Fix wording --- spacy_streamlit/visualizer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy_streamlit/visualizer.py b/spacy_streamlit/visualizer.py index 0fea012..3827caa 100644 --- a/spacy_streamlit/visualizer.py +++ b/spacy_streamlit/visualizer.py @@ -51,12 +51,12 @@ def visualize( model_names = list(models.keys()) spacy_model = st.sidebar.selectbox( - "Pipeline", + "Model", model_names, key=f"{key}_visualize_models", format_func=format_func, ) - model_load_state = st.info(f"Loading pipeline '{spacy_model}'...") + model_load_state = st.info(f"Loading model '{spacy_model}'...") nlp = load_model(spacy_model) model_load_state.empty()