Update README.md
#2
by
p1atdev
- opened
README.md
CHANGED
|
@@ -10,4 +10,30 @@ tags:
|
|
| 10 |
|
| 11 |
Stable Diffusion 1.4 finetuned with a lot of NoAI/AntiAI images. Have fun π€
|
| 12 |
|
| 13 |
-
## !! The prompt for AntiAI logos is now sks icon.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
Stable Diffusion 1.4 finetuned with a lot of NoAI/AntiAI images. Have fun π€
|
| 12 |
|
| 13 |
+
## !! The prompt for AntiAI logos is now sks icon.
|
| 14 |
+
|
| 15 |
+
## Sample image
|
| 16 |
+
|
| 17 |
+
NoAI-Diffusion v1.0
|
| 18 |
+
|
| 19 |
+
||||
|
| 20 |
+
|-|-|-|
|
| 21 |
+
||||
|
| 22 |
+
||||
|
| 23 |
+
|
| 24 |
+
## Diffusers
|
| 25 |
+
|
| 26 |
+
```py
|
| 27 |
+
from diffusers import StableDiffusionPipeline
|
| 28 |
+
import torch
|
| 29 |
+
model_id = "Kokohachi/NoAI-Diffusion"
|
| 30 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16, revision="fp16")
|
| 31 |
+
pipe = pipe.to("cuda")
|
| 32 |
+
prompt = "sks icon, antiai logo"
|
| 33 |
+
image = pipe(prompt).images[0]
|
| 34 |
+
|
| 35 |
+
image.save("noai.png")
|
| 36 |
+
```
|
| 37 |
+
For more detailed instructions, use-cases and examples in JAX follow the instructions [here](https://github.com/huggingface/diffusers#text-to-image-generation-with-stable-diffusion)
|
| 38 |
+
|
| 39 |
+
|