Update README.md
Browse files
README.md
CHANGED
@@ -2,7 +2,6 @@
|
|
2 |
license: creativeml-openrail-m
|
3 |
tags:
|
4 |
- image-to-image
|
5 |
-
- text-to-image
|
6 |
- lego-style
|
7 |
- stable-diffusion
|
8 |
---
|
@@ -22,12 +21,11 @@ Sample pictures of this concept img-to-img:
|
|
22 |
|
23 |
|
24 |
|
25 |
-
![
|
26 |
|
27 |
```
|
28 |
Positive: LegoStyle style, smooth objects, high resolution
|
29 |
Negative: curve, circle, blurry, drawing, cartoon illustration
|
30 |
-
Steps: 30, Sampler: DPM++ 2S a, CFG scale: 7.5, Size: 786x786
|
31 |
```
|
32 |
|
33 |
### 🧨 Diffusers
|
@@ -43,9 +41,9 @@ import torch
|
|
43 |
model_id = "sivar/legostyle1-5"
|
44 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
45 |
pipe = pipe.to("cuda")
|
46 |
-
prompt = "
|
47 |
image = pipe(prompt).images[0]
|
48 |
-
image.save("./
|
49 |
```
|
50 |
|
51 |
## License
|
|
|
2 |
license: creativeml-openrail-m
|
3 |
tags:
|
4 |
- image-to-image
|
|
|
5 |
- lego-style
|
6 |
- stable-diffusion
|
7 |
---
|
|
|
21 |
|
22 |
|
23 |
|
24 |
+

|
25 |
|
26 |
```
|
27 |
Positive: LegoStyle style, smooth objects, high resolution
|
28 |
Negative: curve, circle, blurry, drawing, cartoon illustration
|
|
|
29 |
```
|
30 |
|
31 |
### 🧨 Diffusers
|
|
|
41 |
model_id = "sivar/legostyle1-5"
|
42 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
43 |
pipe = pipe.to("cuda")
|
44 |
+
prompt = "LegoStyle style, smooth objects, high resolution"
|
45 |
image = pipe(prompt).images[0]
|
46 |
+
image.save("./lego.png")
|
47 |
```
|
48 |
|
49 |
## License
|