Model Liberty-LibertyMain-Inpainting from civitai
Browse files- README.md +38 -0
- liberty_main-inpainting.safetensors +3 -0
- preview.jpeg +0 -0
README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: diffusers
|
| 3 |
+
license: creativeml-openrail-m
|
| 4 |
+
pipeline_tag: text-to-image
|
| 5 |
+
tags:
|
| 6 |
+
- Safetensors
|
| 7 |
+
- stable-diffusion
|
| 8 |
+
- stable-diffusion-diffusers
|
| 9 |
+
- text-to-image
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Liberty_LibertyMain Inpainting
|
| 13 |
+
|
| 14 |
+

|
| 15 |
+
|
| 16 |
+
### Description:
|
| 17 |
+
|
| 18 |
+
> <p>This is the version you should be using <strong>for inpainting</strong>:</p><ul><li><p><em>VAE is included in the model.</em></p></li><li><p>Remember de filename <strong>must finish in <em>inpainting</em></strong></p></li><li><p><em>CLIP is fixed.</em></p></li></ul>
|
| 19 |
+
|
| 20 |
+
### Civitai Page: https://civitai.com/models/6937
|
| 21 |
+
|
| 22 |
+
You can use this with the [🧨Diffusers library](https://github.com/huggingface/diffusers)
|
| 23 |
+
|
| 24 |
+
### Diffusers
|
| 25 |
+
```py
|
| 26 |
+
from diffusers import StableDiffusionPipeline
|
| 27 |
+
import torch
|
| 28 |
+
|
| 29 |
+
model_id = "andro-flock/Liberty-LibertyMain-Inpainting"
|
| 30 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
| 31 |
+
pipe = pipe.to("cuda")
|
| 32 |
+
|
| 33 |
+
prompt = "masterpiece, best quality, 1girl, (colorful),(delicate eyes and face), volumatic light, ray tracing, bust shot ,extremely detailed CG unity 8k wallpaper,solo,smile"
|
| 34 |
+
image = pipe(prompt).images[0]
|
| 35 |
+
|
| 36 |
+
image.save("result.png")
|
| 37 |
+
```
|
| 38 |
+
|
liberty_main-inpainting.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b910b6ff0ea70379484304156efcb145dcc03a4cc837a549fff953753adab66
|
| 3 |
+
size 2132679965
|
preview.jpeg
ADDED
|