Update README, safetensors and PNGs
Browse files- .gitattributes +1 -0
- README.md +96 -0
- images/sharp focus_17_-1.5.png +3 -0
- images/sharp focus_17_-3.0.png +3 -0
- images/sharp focus_17_0.0.png +3 -0
- images/sharp focus_17_1.5.png +3 -0
- images/sharp focus_17_3.0.png +3 -0
- images/sharp focus_19_-1.5.png +3 -0
- images/sharp focus_19_-3.0.png +3 -0
- images/sharp focus_19_0.0.png +3 -0
- images/sharp focus_19_1.5.png +3 -0
- images/sharp focus_19_3.0.png +3 -0
- images/sharp focus_20_-1.5.png +3 -0
- images/sharp focus_20_-3.0.png +3 -0
- images/sharp focus_20_0.0.png +3 -0
- images/sharp focus_20_1.5.png +3 -0
- images/sharp focus_20_3.0.png +3 -0
- images/sharp focus_21_-1.5.png +3 -0
- images/sharp focus_21_-3.0.png +3 -0
- images/sharp focus_21_0.0.png +3 -0
- images/sharp focus_21_1.5.png +3 -0
- images/sharp focus_21_3.0.png +3 -0
- images/sharp focus_22_-1.5.png +3 -0
- images/sharp focus_22_-3.0.png +3 -0
- images/sharp focus_22_0.0.png +3 -0
- images/sharp focus_22_1.5.png +3 -0
- images/sharp focus_22_3.0.png +3 -0
- sharp focus.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/sharp focus...blurry/sharp focus_17_3.0.png"
|
6 |
+
widget:
|
7 |
+
- text: sharp focus
|
8 |
+
output:
|
9 |
+
url: images/sharp focus_17_3.0.png
|
10 |
+
- text: sharp focus
|
11 |
+
output:
|
12 |
+
url: images/sharp focus_19_3.0.png
|
13 |
+
- text: sharp focus
|
14 |
+
output:
|
15 |
+
url: images/sharp focus_20_3.0.png
|
16 |
+
- text: sharp focus
|
17 |
+
output:
|
18 |
+
url: images/sharp focus_21_3.0.png
|
19 |
+
- text: sharp focus
|
20 |
+
output:
|
21 |
+
url: images/sharp focus_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: "sharp focus"
|
35 |
+
base_model: "stabilityai/stable-diffusion-xl-base-1.0"
|
36 |
+
---
|
37 |
+
# ntcai.xyz slider - sharp focus (SDXL LoRA)
|
38 |
+
|
39 |
+
| Strength: -3 | Strength: 0 | Strength: 3 |
|
40 |
+
| --- | --- | --- |
|
41 |
+
| <img src="images/sharp focus_17_-3.0.png" width=256 height=256 /> | <img src="images/sharp focus_17_0.0.png" width=256 height=256 /> | <img src="images/sharp focus_17_3.0.png" width=256 height=256 /> |
|
42 |
+
| <img src="images/sharp focus_19_-3.0.png" width=256 height=256 /> | <img src="images/sharp focus_19_0.0.png" width=256 height=256 /> | <img src="images/sharp focus_19_3.0.png" width=256 height=256 /> |
|
43 |
+
| <img src="images/sharp focus_20_-3.0.png" width=256 height=256 /> | <img src="images/sharp focus_20_0.0.png" width=256 height=256 /> | <img src="images/sharp focus_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 |
+
sharp focus
|
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.sharp-focus', weight_name='sharp focus.safetensors', adapter_name="sharp focus")
|
71 |
+
|
72 |
+
# Activate the LoRA
|
73 |
+
pipe.set_adapters(["sharp focus"], adapter_weights=[2.0])
|
74 |
+
|
75 |
+
prompt = "medieval rich kingpin sitting in a tavern, sharp focus"
|
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 540+ 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/sharp focus_17_-1.5.png
ADDED
Git LFS Details
|
images/sharp focus_17_-3.0.png
ADDED
Git LFS Details
|
images/sharp focus_17_0.0.png
ADDED
Git LFS Details
|
images/sharp focus_17_1.5.png
ADDED
Git LFS Details
|
images/sharp focus_17_3.0.png
ADDED
Git LFS Details
|
images/sharp focus_19_-1.5.png
ADDED
Git LFS Details
|
images/sharp focus_19_-3.0.png
ADDED
Git LFS Details
|
images/sharp focus_19_0.0.png
ADDED
Git LFS Details
|
images/sharp focus_19_1.5.png
ADDED
Git LFS Details
|
images/sharp focus_19_3.0.png
ADDED
Git LFS Details
|
images/sharp focus_20_-1.5.png
ADDED
Git LFS Details
|
images/sharp focus_20_-3.0.png
ADDED
Git LFS Details
|
images/sharp focus_20_0.0.png
ADDED
Git LFS Details
|
images/sharp focus_20_1.5.png
ADDED
Git LFS Details
|
images/sharp focus_20_3.0.png
ADDED
Git LFS Details
|
images/sharp focus_21_-1.5.png
ADDED
Git LFS Details
|
images/sharp focus_21_-3.0.png
ADDED
Git LFS Details
|
images/sharp focus_21_0.0.png
ADDED
Git LFS Details
|
images/sharp focus_21_1.5.png
ADDED
Git LFS Details
|
images/sharp focus_21_3.0.png
ADDED
Git LFS Details
|
images/sharp focus_22_-1.5.png
ADDED
Git LFS Details
|
images/sharp focus_22_-3.0.png
ADDED
Git LFS Details
|
images/sharp focus_22_0.0.png
ADDED
Git LFS Details
|
images/sharp focus_22_1.5.png
ADDED
Git LFS Details
|
images/sharp focus_22_3.0.png
ADDED
Git LFS Details
|
sharp focus.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:59ac81f6e61a16ea3875f680b78943cfdcf17e43bd25e7e0ec571ed78b6caf5c
|
3 |
+
size 8789076
|