I have seen many people getting bullied both in-person, during both elementary school and middle school, and online. Bullying can be very detrimental to kid's health. I have also heard of many statistics about bullying and its affects.

What it does

My app uses a machine learning model to detect the toxicity of a chat. Then if it is bad, it can flag a message and ban users.

How I built it

I built a whole chat app from scratch using ReactJS for the frontend of the app, and Flask+Firebase for the backend. I also used python for the ML part. React sends a post request to the flask backend allowing it to use the ML model and predict on the text.

Challenges I ran into

I ran into challenges with how to connect the python ML model to the ReactJS app. It took me a long time to figure out how to connect the two using flask. Also, when I tried to train my model, it was crashing every-time, I eventually realized that it was using too much RAM and so I had to use my dad's computer to be able to train the model.

Share this project: