ostris's picture
Upload folder using huggingface_hub
72c972b verified
---
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
- hair
- tool
- slider
- hair length
base_model: runwayml/stable-diffusion-v1-5
instance_prompt:
widget:
- text: 'photo of a brunette woman reading a book at a coffee shop, sitting on a sofa, wearing short jean shorts, wearing a blue wool sweater '
parameters:
negative_prompt: white collar, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
output:
url: >-
1674051.jpeg
- text: 'photo of a redhead woman with black rim glasses'
parameters:
negative_prompt: white collar, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
output:
url: >-
1674079.jpeg
- text: 'photo of a redhead woman with black rim glasses'
parameters:
negative_prompt: white collar, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
output:
url: >-
1674081.jpeg
- text: 'photo of a brunette woman reading a book at a coffee shop, sitting on a sofa, wearing short jean shorts, wearing a blue wool sweater '
parameters:
negative_prompt: white collar, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
output:
url: >-
1674091.jpeg
- text: 'photo of a brunette woman reading a book at a coffee shop, sitting on a sofa, wearing short jean shorts, wearing a blue wool sweater '
parameters:
negative_prompt: white collar, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
output:
url: >-
1674093.jpeg
---
# Hair Length Slider - LoRA
<Gallery />
## Model description
<ul><li><p>weight: <strong>-8.0 to 8.0</strong> (or more)</p></li><li><p>positive: <strong>longer hair</strong></p></li><li><p>negative: <strong>shorter hair</strong></p></li></ul><p><br /><span style="color:rgb(193, 194, 197)">Simple LoRA to help with adjusting the length of a characters hair. You can swing it both ways pretty far out from -8 to +8 without much distortion. I have taken it out both ways 20 and still got an somewhat decent image, but it was starting to become nonsense.</span><br /></p>
## Download model
Weights for this model are available in Safetensors format.
[Download](/ostris/hair-length-slider-lora/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/hair-length-slider-lora', weight_name='hair_length_slider_v1.safetensors')
image = pipeline('photo of a brunette woman reading a book at a coffee shop, sitting on a sofa, wearing short jean shorts, wearing a blue wool sweater ').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)