GitHunt
PR

pranavs6/oshub_flask_backend

A part of : https://github.com/Kaarthik-07/OpenSource-HUB

Functionality

  1. Toxicity Detection: Checks for any means of toxicity in a given string, reports/stores the user/content based on the decision
  2. Cloud SQL Storage: Adds all the data to GCP's Cloud SQL database for a search agent
  3. Search Functionality: Returns a set of posts based on a search query

To-Do

  1. Clone Celadon:
    git-lfs clone https://huggingface.co/PleIAs/celadon
    For more information on installation, refer to the Toxic Commons installation guide.
  2. Install requirements:
    pip install -r requirements.txt
  3. Run the server:
    python server.py
    To run the server and set it up
  4. Optional: Use ngrok to host
    Set up ngrok to host and forward the server to an endpoint available outside the host network onto the internet
    ngrok http 0.0.0.0:5000

That's pretty much it, thanks!

Contributors

Created November 10, 2024
Updated March 8, 2026