Integrate stable diffusion safety checker / NSFW image detection into web service like FastAPI.
Project description
Safety Checker
Safety checker is a model used in stable diffusion pipeline, aimed to identify NSFW image. Here is the official description.
This project extracts its safety checker into a independent function to provide a conventional way to detect NSFW image in deep neural network.
TODO
- add standalone safety checker implementation that depends on pytorch only. provide strength config (if possible) for NSFW detection
- add FastAPI integration
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
safety_checker-0.1.0.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for safety_checker-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 234e5fb838945a3079dae9aa92b16e461fe2e04dc632596c4f14a9ab3371072d |
|
MD5 | e92df09541c4f8b8a34f5dd1370b4cc7 |
|
BLAKE2b-256 | 2b9ae3d0a89253d42df1058725fb01da8b99c411271e944449fe57d027ddfcc2 |