Text-to-Image
Diffusers
stable-diffusion
lora
template:sd-lora
migrated
sad
happy
emotions
tool
slider
Instructions to use ostris/emotion-sliders with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ostris/emotion-sliders with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("ostris/emotion-sliders") prompt = "close up photo of a woman with dirty blonde hair, soft box photography in a dark room, straight hair, centered in frame" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
