Update README.md
Browse files
README.md
CHANGED
@@ -11,11 +11,37 @@ tags:
|
|
11 |
|
12 |
Test the concept via A1111 Colab [fast-Colab-A1111](https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb)
|
13 |
|
14 |
-
|
15 |
|
16 |
|
17 |
Sample pictures of this concept:
|
18 |
|
|
|
|
|
19 |
![hisa.png](https://s3.amazonaws.com/moonup/production/uploads/1673539012255-6387323e5c68cf2713b75239.png)
|
20 |
![listi.png](https://s3.amazonaws.com/moonup/production/uploads/1673539074312-6387323e5c68cf2713b75239.png)
|
21 |
![deblo.png](https://s3.amazonaws.com/moonup/production/uploads/1673539078106-6387323e5c68cf2713b75239.png)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
Test the concept via A1111 Colab [fast-Colab-A1111](https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb)
|
13 |
|
14 |
+
|
15 |
|
16 |
|
17 |
Sample pictures of this concept:
|
18 |
|
19 |
+
|
20 |
+
|
21 |
![hisa.png](https://s3.amazonaws.com/moonup/production/uploads/1673539012255-6387323e5c68cf2713b75239.png)
|
22 |
![listi.png](https://s3.amazonaws.com/moonup/production/uploads/1673539074312-6387323e5c68cf2713b75239.png)
|
23 |
![deblo.png](https://s3.amazonaws.com/moonup/production/uploads/1673539078106-6387323e5c68cf2713b75239.png)
|
24 |
+
|
25 |
+
```
|
26 |
+
Positive: LegoStyle style, smooth objects, high resolution
|
27 |
+
Negative: curve, circle, blurry, drawing, cartoon illustration
|
28 |
+
Steps: 30, Sampler: DPM++ 2S a, CFG scale: 7.5, Size: 786x786
|
29 |
+
```
|
30 |
+
|
31 |
+
### 🧨 Diffusers
|
32 |
+
|
33 |
+
This model can be used just like any other Stable Diffusion model. For more information,
|
34 |
+
please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
|
35 |
+
|
36 |
+
You can also export the model to [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx), [MPS](https://huggingface.co/docs/diffusers/optimization/mps) and/or [FLAX/JAX]().
|
37 |
+
|
38 |
+
```python
|
39 |
+
from diffusers import StableDiffusionPipeline
|
40 |
+
import torch
|
41 |
+
model_id = "prompthero/openjourney"
|
42 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
43 |
+
pipe = pipe.to("cuda")
|
44 |
+
prompt = "retro serie of different cars with different colors and shapes, mdjrny-v4 style"
|
45 |
+
image = pipe(prompt).images[0]
|
46 |
+
image.save("./retro_cars.png")
|
47 |
+
```
|