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

  • Log In
  • Sign Up

imjunaidafzal
/
stable-diffusion-d

Text-to-Image
Diffusers
StableDiffusionPipeline
stable-diffusion
Model card Files Files and versions
xet
Community
2

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

  • Libraries
  • Diffusers

    How to use imjunaidafzal/stable-diffusion-d with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("imjunaidafzal/stable-diffusion-d", 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-d
4.27 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 16 commits
imjunaidafzal's picture
imjunaidafzal
Update unet/config.json
e00269f over 3 years ago
  • scheduler
    Update scheduler/scheduler_config.json over 3 years ago
  • text_encoder
    Upload text_encoder with huggingface_hub over 3 years ago
  • tokenizer
    Upload tokenizer with huggingface_hub over 3 years ago
  • unet
    Update unet/config.json over 3 years ago
  • vae
    Update vae/config.json over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    242 Bytes
    Upload the concept stable-diffusion-D embeds and token over 3 years ago
  • model_index.json
    508 Bytes
    Update model_index.json over 3 years ago