Update README, safetensors and PNGs
Browse files- .gitattributes +1 -0
- README.md +96 -0
- images/shadows_17_-1.5.png +3 -0
- images/shadows_17_-3.0.png +3 -0
- images/shadows_17_0.0.png +3 -0
- images/shadows_17_1.5.png +3 -0
- images/shadows_17_3.0.png +3 -0
- images/shadows_19_-1.5.png +3 -0
- images/shadows_19_-3.0.png +3 -0
- images/shadows_19_0.0.png +3 -0
- images/shadows_19_1.5.png +3 -0
- images/shadows_19_3.0.png +3 -0
- images/shadows_20_-1.5.png +3 -0
- images/shadows_20_-3.0.png +3 -0
- images/shadows_20_0.0.png +3 -0
- images/shadows_20_1.5.png +3 -0
- images/shadows_20_3.0.png +3 -0
- images/shadows_21_-1.5.png +3 -0
- images/shadows_21_-3.0.png +3 -0
- images/shadows_21_0.0.png +3 -0
- images/shadows_21_1.5.png +3 -0
- images/shadows_21_3.0.png +3 -0
- images/shadows_22_-1.5.png +3 -0
- images/shadows_22_-3.0.png +3 -0
- images/shadows_22_0.0.png +3 -0
- images/shadows_22_1.5.png +3 -0
- images/shadows_22_3.0.png +3 -0
- shadows.safetensors +3 -0
.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 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
thumbnail: "images/evaluate/shadows.../shadows_17_3.0.png"
|
6 |
+
widget:
|
7 |
+
- text: shadows
|
8 |
+
output:
|
9 |
+
url: images/shadows_17_3.0.png
|
10 |
+
- text: shadows
|
11 |
+
output:
|
12 |
+
url: images/shadows_19_3.0.png
|
13 |
+
- text: shadows
|
14 |
+
output:
|
15 |
+
url: images/shadows_20_3.0.png
|
16 |
+
- text: shadows
|
17 |
+
output:
|
18 |
+
url: images/shadows_21_3.0.png
|
19 |
+
- text: shadows
|
20 |
+
output:
|
21 |
+
url: images/shadows_22_3.0.png
|
22 |
+
tags:
|
23 |
+
- text-to-image
|
24 |
+
- stable-diffusion-xl
|
25 |
+
- lora
|
26 |
+
- template:sd-lora
|
27 |
+
- template:sdxl-lora
|
28 |
+
- sdxl-sliders
|
29 |
+
- ntcai.xyz-sliders
|
30 |
+
- concept
|
31 |
+
- diffusers
|
32 |
+
license: "mit"
|
33 |
+
inference: false
|
34 |
+
instance_prompt: "shadows"
|
35 |
+
base_model: "stabilityai/stable-diffusion-xl-base-1.0"
|
36 |
+
---
|
37 |
+
# ntcai.xyz slider - shadows (SDXL LoRA)
|
38 |
+
|
39 |
+
| Strength: -3 | Strength: 0 | Strength: 3 |
|
40 |
+
| --- | --- | --- |
|
41 |
+
| <img src="images/shadows_17_-3.0.png" width=256 height=256 /> | <img src="images/shadows_17_0.0.png" width=256 height=256 /> | <img src="images/shadows_17_3.0.png" width=256 height=256 /> |
|
42 |
+
| <img src="images/shadows_19_-3.0.png" width=256 height=256 /> | <img src="images/shadows_19_0.0.png" width=256 height=256 /> | <img src="images/shadows_19_3.0.png" width=256 height=256 /> |
|
43 |
+
| <img src="images/shadows_20_-3.0.png" width=256 height=256 /> | <img src="images/shadows_20_0.0.png" width=256 height=256 /> | <img src="images/shadows_20_3.0.png" width=256 height=256 /> |
|
44 |
+
|
45 |
+
|
46 |
+
## Download
|
47 |
+
|
48 |
+
Weights for this model are available in Safetensors format.
|
49 |
+
|
50 |
+
## Trigger words
|
51 |
+
|
52 |
+
You can apply this LoRA with trigger words for additional effect:
|
53 |
+
|
54 |
+
```
|
55 |
+
shadows
|
56 |
+
```
|
57 |
+
|
58 |
+
## Use in diffusers
|
59 |
+
|
60 |
+
```python
|
61 |
+
from diffusers import StableDiffusionXLPipeline
|
62 |
+
from diffusers import EulerAncestralDiscreteScheduler
|
63 |
+
import torch
|
64 |
+
|
65 |
+
pipe = StableDiffusionXLPipeline.from_single_file("https://huggingface.co/martyn/sdxl-turbo-mario-merge-top-rated/blob/main/topRatedTurboxlLCM_v10.safetensors")
|
66 |
+
pipe.to("cuda")
|
67 |
+
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
68 |
+
|
69 |
+
# Load the LoRA
|
70 |
+
pipe.load_lora_weights('ntc-ai/SDXL-LoRA-slider.shadows', weight_name='shadows.safetensors', adapter_name="shadows")
|
71 |
+
|
72 |
+
# Activate the LoRA
|
73 |
+
pipe.set_adapters(["shadows"], adapter_weights=[2.0])
|
74 |
+
|
75 |
+
prompt = "medieval rich kingpin sitting in a tavern, shadows"
|
76 |
+
negative_prompt = "nsfw"
|
77 |
+
width = 512
|
78 |
+
height = 512
|
79 |
+
num_inference_steps = 10
|
80 |
+
guidance_scale = 2
|
81 |
+
image = pipe(prompt, negative_prompt=negative_prompt, width=width, height=height, guidance_scale=guidance_scale, num_inference_steps=num_inference_steps).images[0]
|
82 |
+
image.save('result.png')
|
83 |
+
```
|
84 |
+
|
85 |
+
## Support the Patreon
|
86 |
+
|
87 |
+
If you like this model please consider [joining our Patreon](https://www.patreon.com/NTCAI).
|
88 |
+
|
89 |
+
By joining our Patreon, you'll gain access to an ever-growing library of over 1120+ unique and diverse LoRAs, covering a wide range of styles and genres. You'll also receive early access to new models and updates, exclusive behind-the-scenes content, and the powerful LoRA slider creator, allowing you to craft your own custom LoRAs and experiment with endless possibilities.
|
90 |
+
|
91 |
+
Your support on Patreon will allow us to continue developing and refining new models.
|
92 |
+
|
93 |
+
## Other resources
|
94 |
+
|
95 |
+
- [CivitAI](https://civitai.com/user/ntc) - Follow ntc on Civit for even more LoRAs
|
96 |
+
- [ntcai.xyz](https://ntcai.xyz) - See ntcai.xyz to find more articles and LoRAs
|
images/shadows_17_-1.5.png
ADDED
![]() |
Git LFS Details
|
images/shadows_17_-3.0.png
ADDED
![]() |
Git LFS Details
|
images/shadows_17_0.0.png
ADDED
![]() |
Git LFS Details
|
images/shadows_17_1.5.png
ADDED
![]() |
Git LFS Details
|
images/shadows_17_3.0.png
ADDED
![]() |
Git LFS Details
|
images/shadows_19_-1.5.png
ADDED
![]() |
Git LFS Details
|
images/shadows_19_-3.0.png
ADDED
![]() |
Git LFS Details
|
images/shadows_19_0.0.png
ADDED
![]() |
Git LFS Details
|
images/shadows_19_1.5.png
ADDED
![]() |
Git LFS Details
|
images/shadows_19_3.0.png
ADDED
![]() |
Git LFS Details
|
images/shadows_20_-1.5.png
ADDED
![]() |
Git LFS Details
|
images/shadows_20_-3.0.png
ADDED
![]() |
Git LFS Details
|
images/shadows_20_0.0.png
ADDED
![]() |
Git LFS Details
|
images/shadows_20_1.5.png
ADDED
![]() |
Git LFS Details
|
images/shadows_20_3.0.png
ADDED
![]() |
Git LFS Details
|
images/shadows_21_-1.5.png
ADDED
![]() |
Git LFS Details
|
images/shadows_21_-3.0.png
ADDED
![]() |
Git LFS Details
|
images/shadows_21_0.0.png
ADDED
![]() |
Git LFS Details
|
images/shadows_21_1.5.png
ADDED
![]() |
Git LFS Details
|
images/shadows_21_3.0.png
ADDED
![]() |
Git LFS Details
|
images/shadows_22_-1.5.png
ADDED
![]() |
Git LFS Details
|
images/shadows_22_-3.0.png
ADDED
![]() |
Git LFS Details
|
images/shadows_22_0.0.png
ADDED
![]() |
Git LFS Details
|
images/shadows_22_1.5.png
ADDED
![]() |
Git LFS Details
|
images/shadows_22_3.0.png
ADDED
![]() |
Git LFS Details
|
shadows.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:07fdad49976eb35d4cacb1498af759a40a7c8e0c699d42cc1592a712d75965c1
|
3 |
+
size 8789076
|