Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

safety-checker

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

safety-checker

Integrate stable diffusion safety checker / NSFW image detection into web service like FastAPI.

  • 0.5
  • PyPI
  • Socket score

Maintainers
1

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.

See test_imgs.py to get start.

TODO

  • add standalone safety checker implementation that depends on pytorch only. provide strength config (if possible) for NSFW detection
  • add FastAPI integration

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc