nsfw-detection / README.md
seawolf2357's picture
Update README.md
968a2a3 verified
metadata
tags:
  - text-to-image
  - flux
  - lora
  - diffusers
  - template:sd-lora
  - ai-toolkit
widget:
  - text: >-
      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
    output:
      url: samples/1746526424219__000001000_0.jpg
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: nsfw
license: other
license_name: flux-1-dev-non-commercial-license
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md

nsfw-detection

Prompt
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

Trigger words

You should use nsfw to trigger the image generation.

Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.

Weights for this model are available in Safetensors format.

Download them in the Files & versions tab.

Use it with the 🧨 diffusers library

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