File size: 1,934 Bytes
1654ee6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
---
license: other
license_name: bespoke-lora-trained-license
license_link: https://multimodal.art/civitai-licenses?allowNoCredit=True&allowCommercialUse=Image&allowDerivatives=True&allowDifferentLicense=True
tags:
- text-to-image
- stable-diffusion
- lora
- diffusers
- template:sd-lora
- migrated
- sad
- happy
- emotions
- tool
- slider
base_model: runwayml/stable-diffusion-v1-5
instance_prompt:
widget:
- text: 'close up photo of a woman with dirty blonde hair, soft box photography in a dark room, straight hair, centered in frame'
parameters:
negative_prompt: cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
output:
url: >-
1800239.jpeg
---
# Emotion Sliders
<Gallery />
## Model description
<p>I am going to add various emotion sliders here so they will all be in one place. In general, the weights will be -5 to 5, but each one may be more or less. Check versions at the top. Each one will be labeled with the emotion it affects.</p>
## Download model
Weights for this model are available in Safetensors format.
[Download](/ostris/emotion-sliders/tree/main) them in the Files & versions tab.
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
```py
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('runwayml/stable-diffusion-v1-5', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('ostris/emotion-sliders', weight_name='emotion_happy_slider_v1.safetensors')
image = pipeline('close up photo of a woman with dirty blonde hair, soft box photography in a dark room, straight hair, centered in frame').images[0]
```
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
|