explosion / spacy-streamlit

👑 spaCy building blocks and visualizers for Streamlit apps
https://share.streamlit.io/ines/spacy-streamlit-demo/master/app.py
MIT License
794 stars 114 forks source link

visualize_spans #39

Open monWork opened 2 years ago

monWork commented 2 years ago

I have been trying to use this but keep on getting this error ImportError: cannot import name 'visualize_spans' from partially initialized module 'spacy_streamlit' (most likely due to a circular import)

spacy 3.3.1 spacy_streamlit 1.0.4

adrianeboyd commented 2 years ago

Hi, can you provide more information about the code that leads to this error?

I ran the demo here without issues with these versions: https://github.com/explosion/spacy-streamlit/blob/877596106f75095f2a7367b0de3868b9eed6d4e5/examples/05_visualize-spans.py

callistachang commented 1 year ago

Did you name one of your files spacy_streamlit.py?

Relevant StackOverflow