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

Unexpected keyword errors #33

Open
rory-hurley-gds opened this issue Jan 25, 2022 · 1 comment
Open

Unexpected keyword errors #33

rory-hurley-gds opened this issue Jan 25, 2022 · 1 comment

Comments

@rory-hurley-gds
Copy link

Hello,

I aa looking to use spacy-streamlit to visualise custom sentences and entities output from my own model.

When running some of your example .py files, I have found errors
https://github.com/explosion/spacy-streamlit/tree/master/examples

03_visualize-ner-manual.py
The error says:
TypeError: visualize_ner() got an unexpected keyword argument 'manual'

04_visualize-ner-extra-options.pyThe error says:
TypeError: visualize_ner() got an unexpected keyword argument 'displacy_options'

I think this may be a big. Is there a way around this?

@svlandeg
Copy link
Member

Hi! The examples have already been updated to the recent code, we'll make a new release for this soon. In the meantime, you can either use the latest code base from master, or simply remove those arguments from the call when you're running the example.

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

2 participants