Norod78/microsoft-fluentui-emoji-512-whitebg
Viewer • Updated • 7.56k • 232 • 6
How to use kesimeg/sd14_emoji_lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("kesimeg/sd14_emoji_lora")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]How to use kesimeg/sd14_emoji_lora with PEFT:
Task type is invalid.
This is a LORA adapter for Stable Diffusion v1.4 model. This model generates emojis with different styles. There are three key words to trigger different styles. "flat" keyword triggers 2D shapes, "color" word triggers 3D shapes, "high contrast" triggers black and white and cartoonish images.
You can find some examples images below. More sample images can be found in sample_images directory.
Base model
CompVis/stable-diffusion-v1-4