Remove adult content in discord channels better with Artificial Intelligence.
This Discord bot was developed to automatically delete adult images using Image Classification AI technology. This bot uses the NSFW Filterization-DecentScan model from Hugging Face to classify images.
- Download the model from Hugging Face or train it yourself according to the instructions in
/model/README.md
. - Place the downloaded model files in the
/model/
directory. Make sure this directory contains theconfig.json
,preprocessor_config.json
, andpytorch_model.bin
files. - Install dependencies by running the command:
pip install -r requirements.txt
- Run the Discord bot and make sure the bot has permission to manage messages and access images.
👉 Try uploading an image here to try out the AI model
- Make sure the bot has enough permissions to manage messages and access images.
- NSFW Filterization-DecentScan model downloaded from Hugging Face.
Please contribute by opening an issue or submitting a pull request. We really appreciate your contribution!
MIT License