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

  • Log In
  • Sign Up

ZeroCool94
/
stable-diffusion-v1-5

Text-to-Image
Diffusers
StableDiffusionPipeline
Model card Files Files and versions
xet
Community
6

Instructions to use ZeroCool94/stable-diffusion-v1-5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use ZeroCool94/stable-diffusion-v1-5 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("ZeroCool94/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
stable-diffusion-v1-5
14 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 7 commits
ZeroCool94's picture
ZeroCool94
patrickvonplaten's picture
patrickvonplaten
Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (#5)
b040705 about 3 years ago
  • feature_extractor
    Add Diffusers weights (#1) over 3 years ago
  • safety_checker
    Add Diffusers weights (#1) over 3 years ago
  • scheduler
    Add `clip_sample=False` to scheduler to make model compatible with DDIM. (#3) over 3 years ago
  • text_encoder
    Add Diffusers weights (#1) over 3 years ago
  • tokenizer
    Add Diffusers weights (#1) over 3 years ago
  • unet
    Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (#2) over 3 years ago
  • vae
    Add `scale_factor` to vae config. (#4) over 3 years ago
  • .gitattributes
    1.63 kB
    Upload 3 files over 3 years ago
  • README.md
    39 Bytes
    initial commit over 3 years ago
  • Stable Diffusion v1-5-Pruned-ema only.ckpt
    4.27 GB
    xet
    Upload 3 files over 3 years ago
  • Stable Diffusion-v1-5-Inpainting.ckpt
    4.27 GB
    xet
    Upload 3 files over 3 years ago
  • model_index.json
    546 Bytes
    Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (#5) about 3 years ago