Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Can generate lewd/nsfw images even when safety_checker is enabled #166

Open
realmazharhussain opened this issue Sep 30, 2024 · 3 comments

Comments

@realmazharhussain
Copy link

I am using flux via replicate. Both FLUX schnell & dev can generate NSFW images even when the safety_checker is enabled.

input:

{
  "prompt": "A woman with long, flowing hair is elegantly posed in a luxurious bathtub filled with water, surrounded by opulent decor. She extends her arms gracefully, with water droplets cascading from her fingers. The setting is illuminated by soft, warm light from ornate chandeliers and candles, creating a romantic atmosphere. Fresh flowers are arranged nearby, adding a touch of natural beauty to the scene. A mirror reflects the ambiance, enhancing the overall elegance and tranquility of the moment.",
  "disable_safety_checker": false,
  "seed": 7053013,
  "aspect_ratio": "1:1",
  "output_format": "webp",
  "output_quality": 80
}

output: An nsfw image

Note

Sometimes, you need to try multipe times before it generates an explicit image.

@bugsbex
Copy link

bugsbex commented Oct 6, 2024

And? I'll take that over it the PTSD nightmare fuel of SD3? what's the problem with having pretty hippy chicks topless?

@realmazharhussain
Copy link
Author

Google Play Store, my guy. An app cannot use a generative AI model without NSFW-safety in place.

@bonlime
Copy link

bonlime commented Oct 11, 2024

@realmazharhussain how is this a bug of the model? just use some other safety checker or decrease the tolerance using safety_tolerance parameter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants