freddy fazbear gets randomly censored?

#1
by Frewsh - opened
Stable Diffusion concepts library org

any idea on how to get rid of the censor when it randomly decides to remove half of the outputs? obviously it's not NSFW and none of my prompts were either???

Stable Diffusion concepts library org
edited Sep 17, 2022

In the block "Run the Stable Diffusion pipeline", paste this in the Code section so that these lines are after the "from torch import autocast" part but before the "pipe=" part. This should help you if the safe check is being too aggressive.
I couldn't get the markup working on this text paste, but make sure on 'return' it is tabbed over one.

from diffusers.pipelines.stable_diffusion import safety_checker
def sc(self, clip_input, images) :
return images, [False for i in images]
safety_checker.StableDiffusionSafetyChecker.forward = sc

Sign up or log in to comment