Rasa X training failed with Spacy pipeline

Hi, I deployed Rasa X using the default server quick-install method. I was able to connect my git repository. But when I train a model, the training fails. After checking the logs for rasa-worker pod, I found out that it’s failing to load the Spacy model.

rasa.nlu.model.InvalidModelError: Please confirm that en_core_web_sm is an available spaCy model. You need to download one upfront. For example:
python -m spacy download en_core_web_md
More informaton can be found on https://rasa.com/docs/rasa/components#spacynlp

2021-05-31 07:06:45 ERROR    rasa.server  - An unexpected error occurred during training. Error: Please confirm that en_core_web_sm is an available spaCy model. You need to download one upfront. For example:
python -m spacy download en_core_web_md
More informaton can be found on https://rasa.com/docs/rasa/components#spacynlp

I think I need to run python -m spacy download en_core_web_md and link the mode. But how can I do that when deploying using Rasa X?

Use en_core_web_md instead in the configuration.

If you want to use sm or lg models, you’d either need to execute into the containers and install them, or create a new image and deploy it in the cluster.