anarchy-ai / LLM-VM

irresponsible innovation. Try now at https://chat.dev/
https://anarchy.ai/
MIT License
477 stars 148 forks source link

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

Open poju3185 opened 9 months ago

poju3185 commented 9 months ago

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):

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.