visualize_spans
monWork opened this issue · 2 comments
monWork commented
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
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
Did you name one of your files spacy_streamlit.py
?