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

  • Log In
  • Sign Up

valhalla
/
emoji-diffusion

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

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

  • Libraries
  • Diffusers

    How to use valhalla/emoji-diffusion with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("valhalla/emoji-diffusion", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "a unicorn Llama emoji"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
emoji-diffusion
2.14 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 11 commits
patrickvonplaten's picture
patrickvonplaten
Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default
d37da50 over 3 years ago
  • feature_extractor
    add model over 3 years ago
  • scheduler
    add model over 3 years ago
  • text_encoder
    add model over 3 years ago
  • tokenizer
    add model over 3 years ago
  • unet
    Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default over 3 years ago
  • vae
    add model over 3 years ago
  • .gitattributes
    1.52 kB
    Upload emoji.png over 3 years ago
  • README.md
    2.6 kB
    Update README.md over 3 years ago
  • emoji.png
    1.28 MB
    xet
    Upload emoji.png over 3 years ago
  • model_index.json
    508 Bytes
    add model over 3 years ago