Skip to content

Max-Headspace/stable-diffusion-clean-n-safe

 
 

Repository files navigation

Stable Diffusion with all the safety/NSFW filters and watermarking!

This is a fork of Stable Diffusion that enables the NSFW filter and watermarking. The goal of this is three-fold:

  1. Saves precious time from images that get mistakenly tainted with material that is NSFW.
  2. Saves GPU memory by not loading the safety models, allowing for some more headroom on GPUs with smaller VRAM.
  3. Reverts the state of the Stable Diffusion scripts to the closed beta, when these weren't implemented yet.

also... yeah haha You can use this in the exact same way as the original Stable Diffusion does.

For use in Colab notebooks that rely on the original Stable Diffusion, simply replace all instances linking to !git clone https://github.com/CompVis/stable-diffusion.git with !git clone https://github.com/chemistzombie/stable-diffusion-unfiltered.git

Disclaimer: I don't encourage or condone people to breach the CreativeML Open RAIL-M license used by Stable Diffusion. This repo is solely intended to address the issues with false positives that frequently occur while using the software, as well as improving usability on GPUs with smaller VRAM.

About

Stable Diffusion with the safety filter in place, and retrained without the explicit images of young females.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 90.1%
  • Python 9.8%
  • Shell 0.1%