explosion / spacy-streamlit

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

ModuleNotFoundError in demo #43

Closed bsenst closed 1 year ago

bsenst commented 1 year ago

when opening https://ines-spacy-streamlit-demo-app-a6h19v.streamlit.app/ I encounter a ModuleNotFoundError

Traceback: File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script exec(code, module.dict) File "/app/spacy-streamlit-demo/app.py", line 1, in import spacy_streamlit File "/home/appuser/venv/lib/python3.7/site-packages/spacy_streamlit/init.py", line 1, in from .visualizer import visualize, visualize_parser, visualize_ner, visualize_spans File "/home/appuser/venv/lib/python3.7/site-packages/spacy_streamlit/visualizer.py", line 3, in import spacy File "/home/appuser/venv/lib/python3.7/site-packages/spacy/init.py", line 14, in from .cli.info import info # noqa: F401 File "/home/appuser/venv/lib/python3.7/site-packages/spacy/cli/init.py", line 3, in from ._util import app, setup_cli # noqa: F401 File "/home/appuser/venv/lib/python3.7/site-packages/spacy/cli/_util.py", line 8, in import typer File "/home/appuser/venv/lib/python3.7/site-packages/typer/init.py", line 29, in from .main import Typer as Typer File "/home/appuser/venv/lib/python3.7/site-packages/typer/main.py", line 11, in from .completion import get_completion_inspect_parameters File "/home/appuser/venv/lib/python3.7/site-packages/typer/completion.py", line 10, in import click._bashcomplete

polm commented 1 year ago

Thanks for bringing that to our attention, we'll look at getting it fixed!

svlandeg commented 1 year ago

HI @bsenst, I think this should be fixed now, so I'll go ahead and close this. Let us know if you run into any more issues though!