- Change directory to
Flaskand install the requirements.txt file usingpip install -r requirements.txt - Make sure to downlaod the BERT Model using git:
git lfs install
git clone https://huggingface.co/google-bert/bert-base-uncased
- Place the BERT Model in the root directory of the project.
- Run
flask --app server run --debugto start the server in debug mode.
- Change directory to
fornt-end. - Make sure you have a compatible version of node installed.
- Run
npm ito install required packages. - Run
npm startto run the front-end onlocalhost:3000.
- Change directory to
server. - Make sure you have a compatible version of NodeJs installed.
- Run
npm ito install the required packages. - Run
node index.jsto start the server. - Server will start at
localhost:50001.