clone repo
install requirements and the spaCy 'en_core_web_sm' file
# python3 -m spacy download en_core_web_sm
run
❯ uvicorn main:app --reload
open ents.html on localhost "http://127.0.0.1:8000/ents/html"
sudo docker pull rggh/spacy_ner:7
sudo docker run -it -p 8000:8000 rggh/spacy_ner:7
http://127.0.0.1:8000/docs#/default/vars_ents_post
- run
python3 test_1.py
to test spaCy function once Docker is started