Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • 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: 6 commits
Thaylor47's picture
Thaylor47
Update README.md
eda9ae9 verified 7 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
    1.01 kB
    Update README.md 7 months ago