- Change directory to
Flask
and 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 --debug
to start the server in debug mode.
- Change directory to
fornt-end
. - Make sure you have a compatible version of node installed.
- Run
npm i
to install required packages. - Run
npm start
to run the front-end onlocalhost:3000
.
- Change directory to
server
. - Make sure you have a compatible version of NodeJs installed.
- Run
npm i
to install the required packages. - Run
node index.js
to start the server. - Server will start at
localhost:50001
.