Skip to content

Latest commit

 

History

History
46 lines (42 loc) · 1.13 KB

README.md

File metadata and controls

46 lines (42 loc) · 1.13 KB

NER_STREAMLIT

A general purpose Named Entity Recognition model using Spacy.

REQUIREMENTS:

  • Python 3.7+
  • spacy==3.0.0
  • streamlit
  • spacy_streamlit
  • Download the en_core_web_sm package for Spacy v3.0.0 as follows.
pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.0.0/en_core_web_sm-3.0.0.tar.gz

CREATING VENV IN CONDA:

conda create --name myenv

Using a virtual environment:

conda activate myenv

Deactivating a virtual environment:

conda deactivate myenv

RUNNING THE APPLICATION:

  • Install all the dependencies in the virtual environment.
  • Then run :
streamlit run app.py
  • Your app will be running in the local server.
  • Then deploy the app to Heroku or some other platforms you like!
  • Build pack to be added in Heroku :
heroku/python
  • The home page of the web app is shown below:
index