News for hackers. Stuff that matters.
Re:Diffusion Bee: Stable Diffusion GUI App for M1 Mac by gpm on Sunday September 11, 2022 @10:03PM (#32805182)
"Stable Diffusion" is referring to one specific set of models, which were trained on a dataset including some porn.

The official implementation has a second model that detects pornography, and replaces outputs including it with a picture of this dude https://www.youtube.com/watch?v=dQw4w9WgXcQ (Not kidding). Removing that is a really simple a one line change in the official script.

Re:Diffusion Bee: Stable Diffusion GUI App for M1 Mac by paulgb on Monday September 12, 2022 @03:32AM (#32807156)
> Not kidding

I was amused by this when reading the source. Here’s the function that loads the replacement.

https://github.com/CompVis/stable-diffusion/blob/69ae4b35e0a...

It looks like removing line 309 of the same file would disable the check, but I haven’t tried it.

Re:Diffusion Bee: Stable Diffusion GUI App for M1 Mac by artdigital on Monday September 12, 2022 @03:40AM (#32807200)
This is the line to change to disable the nsfw filter: https://github.com/CompVis/stable-diffusion/blob/69ae4b35e0a...
Re:Diffusion Bee: Stable Diffusion GUI App for M1 Mac by nsfw_hacker on Monday September 12, 2022 @10:17PM (#32820031)
I dont see this line in V2.1
Re:Diffusion Bee: Stable Diffusion GUI App for M1 Mac by nextaccountic on Sunday September 11, 2022 @10:28PM (#32805371)
I guess the question is whether this toggle is available in the GUI, or if someone has to edit source code
Re:Diffusion Bee: Stable Diffusion GUI App for M1 Mac by Gigachad on Sunday September 11, 2022 @11:05PM (#32805609)
For the CLI version, there was no UI, you have to open the python file and stub out the NSFW check. (trivial though)