Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

visualize_spans #39

Open
monWork opened this issue Aug 4, 2022 · 2 comments
Open

visualize_spans #39

monWork opened this issue Aug 4, 2022 · 2 comments

Comments

@monWork
Copy link

monWork commented Aug 4, 2022

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
Copy link
Contributor

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
Copy link
Contributor

Did you name one of your files spacy_streamlit.py?

Relevant StackOverflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants