ostris commited on
Commit
d20a34c
1 Parent(s): c95a072

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ 2221993.jpeg filter=lfs diff=lfs merge=lfs -text
2221968.jpeg ADDED
2221993.jpeg ADDED

Git LFS Details

  • SHA256: 5a919dae89eeacde387a3673ae59a078e395dd4356071ec6388eef25eba7536d
  • Pointer size: 132 Bytes
  • Size of remote file: 1.86 MB
2222002.jpeg ADDED
2222004.jpeg ADDED
2222006.jpeg ADDED
2222008.jpeg ADDED
README.md ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - depth of field
13
+ - tool
14
+ - dof
15
+ - blurry background
16
+ - focus
17
+
18
+ base_model: runwayml/stable-diffusion-v1-5
19
+ instance_prompt:
20
+ widget:
21
+ - text: ' '
22
+
23
+ output:
24
+ url: >-
25
+ 2221968.jpeg
26
+ - text: ' '
27
+
28
+ output:
29
+ url: >-
30
+ 2221993.jpeg
31
+ - text: 'photo of a man smiling in the forest, beard '
32
+ parameters:
33
+ negative_prompt: cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
34
+
35
+ output:
36
+ url: >-
37
+ 2222002.jpeg
38
+ - text: 'photo of a man smiling in the forest, beard '
39
+ parameters:
40
+ negative_prompt: cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
41
+
42
+ output:
43
+ url: >-
44
+ 2222004.jpeg
45
+ - text: 'photo of a woman with light brown hair, posing for a photo, centered streets of big city '
46
+ parameters:
47
+ negative_prompt: hat, nude, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
48
+
49
+ output:
50
+ url: >-
51
+ 2222006.jpeg
52
+ - text: 'photo of a woman with light brown hair, posing for a photo, centered streets of big city '
53
+ parameters:
54
+ negative_prompt: hat, nude, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
55
+
56
+ output:
57
+ url: >-
58
+ 2222008.jpeg
59
+
60
+ ---
61
+
62
+ # Depth of Field Slider - LoRA
63
+
64
+ <Gallery />
65
+
66
+
67
+
68
+
69
+
70
+ ## Model description
71
+
72
+ <ul><li><p>weight: <strong>-8.0 to 8.0 </strong><em>( or way more or less )</em></p></li><li><p>positive: <strong>large DOF (sharp background)</strong></p></li><li><p>negative: <strong>narrow DOF (blurry background)</strong></p></li></ul><p></p><p>UPDATE:</p><p>The original file had an sdxl meta tag that makes automatic1111 web ui only show it for sdxl. I have uploaded one with the correct meta tag. If you are having issues, download and replace the previous one with the new one and refresh your network modules.</p><p></p><p>Weight depends on starting photo, if it already has a shallow depth of field, you may need to go pretty high to remove it (10.0 to 15.0), but -5.0 to 5.0 works for most images. The image stays pretty stable even at extreme values, though it will change the composition.</p><p></p>
73
+
74
+
75
+
76
+ ## Download model
77
+
78
+ Weights for this model are available in Safetensors format.
79
+
80
+ [Download](/ostris/depth-of-field-slider-lora/tree/main) them in the Files & versions tab.
81
+
82
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
83
+
84
+ ```py
85
+ from diffusers import AutoPipelineForText2Image
86
+ import torch
87
+
88
+ pipeline = AutoPipelineForText2Image.from_pretrained('runwayml/stable-diffusion-v1-5', torch_dtype=torch.float16).to('cuda')
89
+ pipeline.load_lora_weights('ostris/depth-of-field-slider-lora', weight_name='depth_of_field_slider_v1.safetensors')
90
+ image = pipeline('photo of a woman with light brown hair, posing for a photo, centered streets of big city ').images[0]
91
+ ```
92
+
93
+ 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)
94
+
depth_of_field_slider_v1.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5095fbcc66b6600ec597ef712f8f8a40e338c50b2d6f9e62608df76f5077a95
3
+ size 6434616