Upload folder using huggingface_hub
Browse files- 1674051.jpeg +0 -0
- 1674079.jpeg +0 -0
- 1674081.jpeg +0 -0
- 1674091.jpeg +0 -0
- 1674093.jpeg +0 -0
- README.md +90 -0
- hair_length_slider_v1.safetensors +3 -0
1674051.jpeg
ADDED
1674079.jpeg
ADDED
1674081.jpeg
ADDED
1674091.jpeg
ADDED
1674093.jpeg
ADDED
README.md
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
license_name: bespoke-lora-trained-license
|
4 |
+
license_link: https://multimodal.art/civitai-licenses?allowNoCredit=True&allowCommercialUse=Image&allowDerivatives=True&allowDifferentLicense=True
|
5 |
+
tags:
|
6 |
+
- text-to-image
|
7 |
+
- stable-diffusion
|
8 |
+
- lora
|
9 |
+
- diffusers
|
10 |
+
- template:sd-lora
|
11 |
+
- migrated
|
12 |
+
- hair
|
13 |
+
- tool
|
14 |
+
- slider
|
15 |
+
- hair length
|
16 |
+
|
17 |
+
base_model: runwayml/stable-diffusion-v1-5
|
18 |
+
instance_prompt:
|
19 |
+
widget:
|
20 |
+
- 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 '
|
21 |
+
parameters:
|
22 |
+
negative_prompt: white collar, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
|
23 |
+
|
24 |
+
output:
|
25 |
+
url: >-
|
26 |
+
1674051.jpeg
|
27 |
+
- text: 'photo of a redhead woman with black rim glasses'
|
28 |
+
parameters:
|
29 |
+
negative_prompt: white collar, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
|
30 |
+
|
31 |
+
output:
|
32 |
+
url: >-
|
33 |
+
1674079.jpeg
|
34 |
+
- text: 'photo of a redhead woman with black rim glasses'
|
35 |
+
parameters:
|
36 |
+
negative_prompt: white collar, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
|
37 |
+
|
38 |
+
output:
|
39 |
+
url: >-
|
40 |
+
1674081.jpeg
|
41 |
+
- 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 '
|
42 |
+
parameters:
|
43 |
+
negative_prompt: white collar, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
|
44 |
+
|
45 |
+
output:
|
46 |
+
url: >-
|
47 |
+
1674091.jpeg
|
48 |
+
- 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 '
|
49 |
+
parameters:
|
50 |
+
negative_prompt: white collar, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
|
51 |
+
|
52 |
+
output:
|
53 |
+
url: >-
|
54 |
+
1674093.jpeg
|
55 |
+
|
56 |
+
---
|
57 |
+
|
58 |
+
# Hair Length Slider - LoRA
|
59 |
+
|
60 |
+
<Gallery />
|
61 |
+
|
62 |
+
|
63 |
+
|
64 |
+
|
65 |
+
|
66 |
+
## Model description
|
67 |
+
|
68 |
+
<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>
|
69 |
+
|
70 |
+
|
71 |
+
|
72 |
+
## Download model
|
73 |
+
|
74 |
+
Weights for this model are available in Safetensors format.
|
75 |
+
|
76 |
+
[Download](/ostris/hair-length-slider-lora/tree/main) them in the Files & versions tab.
|
77 |
+
|
78 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
79 |
+
|
80 |
+
```py
|
81 |
+
from diffusers import AutoPipelineForText2Image
|
82 |
+
import torch
|
83 |
+
|
84 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('runwayml/stable-diffusion-v1-5', torch_dtype=torch.float16).to('cuda')
|
85 |
+
pipeline.load_lora_weights('ostris/hair-length-slider-lora', weight_name='hair_length_slider_v1.safetensors')
|
86 |
+
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]
|
87 |
+
```
|
88 |
+
|
89 |
+
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)
|
90 |
+
|
hair_length_slider_v1.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:14deba931195532152f03437d47a7cf44e1df379684274715f676852d6708ec3
|
3 |
+
size 6865824
|