😒 A web app which detects if a user on reddit has posted a toxic comment or not! 🧐
-
React (create-react-app) for the front end.
-
Python-Django for the backend server side.
-
Urllib3 and BeautifulSoup for web scraping. Optionally selenium module included.
-
Tensorflow 2.3.0 with the Keras syntax for the model training and predictions.
- Clone and cd into the repo.
git clone https://github.com/k4u5h4L/Toxi-meter.git && cd Toxi-meter
- Cd into the client and install the required dependencies
cd client && npm install
- Install the dependencies from the
requirements.txt
file
cd ../server/ && pip install -r requirements.txt
- Run the Django server.
python manage.py runserver
- In another terminal, run the front end React client.
npm start
- Now visit the location localhost:3000 to visit the site.
-
This project is made as a hobby and is NOT a commercial application.
-
Any contribution is welcome. You can fork and submit a pull request.
-
The dataset is got from kaggle from this page by Zafar. Please download the dataset and unzip the csv file in this file path
data/toxic-comments/train_preprocessed.csv
to train the model yourself.