Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

fofr
/
sdxl-emoji

Text-to-Image
Diffusers
stable-diffusion
lora
Model card Files Files and versions
xet
Community
5

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

  • Libraries
  • Diffusers

    How to use fofr/sdxl-emoji with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("fofr/sdxl-emoji")
    
    prompt = "an <s0><s1> emoji"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
sdxl-emoji
186 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
fofr's picture
fofr
multimodalart's picture
multimodalart HF Staff
Update README.md (#1)
d9adbc1 verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    2.49 kB
    Update README.md (#1) almost 2 years ago
  • embeddings.pti
    8.36 kB
    Upload folder using huggingface_hub almost 2 years ago
  • lora.safetensors
    186 MB
    xet
    Upload folder using huggingface_hub almost 2 years ago
  • special_params.json
    19 Bytes
    Upload folder using huggingface_hub almost 2 years ago