3 ms·
>StableDiffusion from the original repo will rick roll you if you try to generate something that triggers its NSFW filter. Just replace in scripts/txt2img.py:
by aortega 4y ago
>StableDiffusion from the original repo will rick roll you if you try to generate something that triggers its NSFW filter.
Just replace in scripts/txt2img.py:
- x_checked_image, has_nsfw_concept = check_safety(x_samples_ddim)
+ x_checked_image = x_samples_ddim
And be done with it.