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

  • Log In
  • Sign Up

waifu-diffusion
/
wd40

Text-to-Image
Diffusers
Safetensors
English
StableDiffusionPipeline
stable-diffusion
Model card Files Files and versions
xet
Community
1

Instructions to use waifu-diffusion/wd40 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use waifu-diffusion/wd40 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("waifu-diffusion/wd40", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "1girl, solo, bangs, (pink hair, gradient hair, very long hair:1.1), (purple eyes:1.05), (cat ears, animal ear fluff:1.2), sidelocks, white shirt, collared shirt, buttons,  night, looking at viewer, table, pizza on table, pov, restaurant, medium breasts, smiling, (blush:0.7), colored inner hair, (symmetric), (masterpiece, exceptional, extremely detailed:1.1)"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
wd40 / tokenizer
1.59 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
neggles's picture
neggles
add diffusers model
fefa09a about 2 years ago
  • merges.txt
    525 kB
    add diffusers model about 2 years ago
  • special_tokens_map.json
    588 Bytes
    add diffusers model about 2 years ago
  • tokenizer_config.json
    705 Bytes
    add diffusers model about 2 years ago
  • vocab.json
    1.06 MB
    add diffusers model about 2 years ago