File size: 3,070 Bytes
e022358
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
---
license: other
license_name: bespoke-lora-trained-license
license_link: https://multimodal.art/civitai-licenses?allowNoCredit=False&allowCommercialUse=Image&allowDerivatives=True&allowDifferentLicense=True
tags:
- text-to-image
- stable-diffusion
- lora
- diffusers
- template:sd-lora
- migrated
- people
- tool
- slider
- number of people

base_model: runwayml/stable-diffusion-v1-5
instance_prompt: 
widget:
- text: 'hipster men at a bar posing for a picture '
  parameters:
    negative_prompt: shirtless, nude, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
            
  output:
    url: >-
      1670646.jpeg
- text: 'hipster men at a bar posing for a picture '
  parameters:
    negative_prompt: shirtless,  nude, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
            
  output:
    url: >-
      1670739.jpeg
- text: 'hipster men at a bar posing for a picture '
  parameters:
    negative_prompt: shirtless,  nude, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
            
  output:
    url: >-
      1670714.jpeg
- text: 'hipster men at a bar posing for a picture '
  parameters:
    negative_prompt: shirtless,  nude, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
            
  output:
    url: >-
      1670719.jpeg
- text: 'hipster men at a bar posing for a picture '
  parameters:
    negative_prompt: shirtless,  nude, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
            
  output:
    url: >-
      1670723.jpeg
- text: ' '
  
  output:
    url: >-
      1671159.jpeg

---

# People Count Slider - LoRA 

<Gallery />





## Model description

<p>Weights can swing very far on this one <strong>-8.0 to +8.0. </strong>It can do extremely large crowds the higher you go and I wanted to be able to keep granular control.<br /><br />Positive = More people</p><p>Negative = Less people<br /><br /><span style="color:rgb(193, 194, 197)">Simple LoRA to help with adjusting the number of people in a picture. You can swing it both ways pretty far out from -8 to +8 without much distortion.</span></p>



## Download model

Weights for this model are available in Safetensors format.

[Download](/ostris/people-count-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/people-count-slider-lora', weight_name='people_count_slider_v1.safetensors')
image = pipeline('Your custom prompt').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)