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

  • Log In
  • Sign Up

opendiffusionai
/
stablediffusion_t5

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

Instructions to use opendiffusionai/stablediffusion_t5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use opendiffusionai/stablediffusion_t5 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("opendiffusionai/stablediffusion_t5", 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
stablediffusion_t5
4.99 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
ppbrown's picture
ppbrown
Upload pipeline.py with huggingface_hub
238b78a verified 7 months ago
  • feature_extractor
    Upload folder using huggingface_hub 12 months ago
  • safety_checker
    Upload folder using huggingface_hub 12 months ago
  • scheduler
    Upload folder using huggingface_hub 12 months ago
  • tokenizer
    Upload folder using huggingface_hub 12 months ago
  • unet
    Upload folder using huggingface_hub 12 months ago
  • vae
    Upload folder using huggingface_hub 12 months ago
  • .gitattributes
    1.56 kB
    Upload save.png with huggingface_hub 12 months ago
  • README.md
    808 Bytes
    Upload README.md with huggingface_hub 12 months ago
  • demo.py
    510 Bytes
    Update demo.py 12 months ago
  • model_index.json
    677 Bytes
    Upload folder using huggingface_hub 12 months ago
  • pipeline.py
    6.4 kB
    Upload pipeline.py with huggingface_hub 7 months ago
  • save.png
    507 kB
    xet
    Upload save.png with huggingface_hub 12 months ago