Skip to content

OSError: [E050] Can't find model 'en_core_web_md'. #421

@poju3185

Description

@poju3185

Describe the bug
When creating creating an agent instance, spacy.load("en_core_web_md") raises an exception.

To Reproduce

  1. Start the web server.
  2. Go to http://127.0.0.1:3002/v1/complete
  3. See error

Desktop (please complete the following information):

  • OS: [e.g. MacOS]
  • Browser [chrome]

Additional context
After some research, I found that you need to run

python -m spacy download en_core_web_md

to download the package. I think this could be include in bash script when building the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions