Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Edweibin
/
flux-dev-nfsw

Text-to-Image
Diffusers
stable-diffusion
lora
template:sd-lora
Model card Files Files and versions
xet
Community
1

Instructions to use Edweibin/flux-dev-nfsw with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Edweibin/flux-dev-nfsw with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Edweibin/flux-dev-nfsw")
    
    prompt = "a girl laughing"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
flux-dev-nfsw
172 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
Edweibin's picture
Edweibin
Upload 2 files
e5a4eff verified 9 months ago
  • images
    Upload 2 files 9 months ago
  • .gitattributes
    1.52 kB
    initial commit 9 months ago
  • NSFW_master.safetensors
    172 MB
    xet
    Upload NSFW_master.safetensors 9 months ago
  • README.md
    886 Bytes
    Upload 2 files 9 months ago