We are team of engineers working towards the goal of mitigating online child abuse using NLP by predicting child grooming pattern.
Warning few examples might contain explicit language.
The Flask webserver was built using the Flask tutorial.
Remember to replace Pusher ID tags with your own.
- CD to the Flask folder - api:
$ cd api
- Create a virtual environment:
python3 -m venv env
- Activate the virtual environment:
source env/bin/activate
On windows? Activate it with the below:
source env/Scripts/activate
- Install the dependencies:
pip install -r requirements.txt
- Download NLTK corpora:
$ python -m textblob.download_corpora lite
- Finally run the app:
flask run
Check the URL where Flask is running - http://localhost:5000. You will get a text "Pong!".
Open a new terminal window, then cd into the repo folder
Install dependencies:
npm install
Then run the app:
$ npm run serve