Downloads · 30 days
22
5% of all-time downloads
seawolf2357/nsfw-detection
nsfw-detection is a text-to-image model from seawolf2357. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as other.
Downloads · 30 days
22
5% of all-time downloads
All-time downloads
431
Public
Repo size
172 MB
Likes
38
Public
Click a slice to open those files.
.safetensors172 MB · 100%
From the Hugging Face model README
You should use nsfw to trigger the image generation.
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
pipeline.load_lora_weights('seawolf2357/nsfw-detection', weight_name='nsfw-detection.safetensors')
image = pipeline('a woman in a bikini riding a surfboard on the ocean, with the sky in the background. She is animated, with her arms outstretched as she rides the wave. nsfw').images[0]
image.save("my_image.png")
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers