explosion / explosion/spacy-streamlit

Attribute Error: st.experimental_rerun() deprecated

Open
#55 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
863
Forks
113
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm running the visualize_app.py demo in the repo README, but I'm running into the following error.

` File "/Users/qugenes/miniconda3/lib/python3.11/site-packages/spacy_streamlit/visualizer.py", line 51, in visualize
st.experimental_rerun()
^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'streamlit' has no attribute 'experimental_rerun'`

After looking through some other online issues, I saw this [thread](https://discuss.streamlit.io/t/streamlit-version-1-37-st-rerun-it-doesnt-work/76737) that said that st.experimental_rerun() is an attribute of an older version of streamlit and I'm running on streamlit version == 1.37.1

Is this a problem with the spacy-streamlit codebase? Should the visualizer.py be updated? Or how should I address this problem?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.