How download 'en_core_web_sm' from spacy in Streamlit app?

Hi, I am new to streamlit. I need to download a model called “en_core_web_sm” from the spaCy library but I don’t know how to do it. I can’t find a console to run the pip spacy download en_core_web_sm. Try from the requiremts.txt file and I couldn’t either. Anyone have an idea how to do it?
Thanks

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.