Update README.md
Browse files
README.md
CHANGED
@@ -26,8 +26,27 @@ inference: false
|
|
26 |
- i recommend adding “nude, naked” to your negative prompt if you don’t like boobas because this model certainly does (¬‿¬ )
|
27 |
- check my [blog entry](https://proximacentaurib.xyz/checkpoints/luna-diffusion/) for more examples, comparisons and tips on settings
|
28 |
|
|
|
29 |
# get [CKPT](https://huggingface.co/proximasanfinetuning/luna-diffusion/blob/main/luna_diffusion_2-2.ckpt) or [Safetensors](https://huggingface.co/proximasanfinetuning/luna-diffusion/blob/main/luna_diffusion_2-2.safetensors)
|
30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
----
|
32 |
|
33 |
# → some great images users on [stablecog.com](https://stablecog.com) made with it:
|
|
|
26 |
- i recommend adding “nude, naked” to your negative prompt if you don’t like boobas because this model certainly does (¬‿¬ )
|
27 |
- check my [blog entry](https://proximacentaurib.xyz/checkpoints/luna-diffusion/) for more examples, comparisons and tips on settings
|
28 |
|
29 |
+
|
30 |
# get [CKPT](https://huggingface.co/proximasanfinetuning/luna-diffusion/blob/main/luna_diffusion_2-2.ckpt) or [Safetensors](https://huggingface.co/proximasanfinetuning/luna-diffusion/blob/main/luna_diffusion_2-2.safetensors)
|
31 |
|
32 |
+
---
|
33 |
+
|
34 |
+
# 🧨 Diffusers
|
35 |
+
This model can be used just like any other Stable Diffusion model. For more information, please have a look at the [Stable Diffusion Pipeline](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion/overview).
|
36 |
+
```
|
37 |
+
from diffusers import StableDiffusionPipeline
|
38 |
+
import torch
|
39 |
+
|
40 |
+
model_id = "proximasanfinetuning/luna-diffusion"
|
41 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
42 |
+
pipe = pipe.to("cuda")
|
43 |
+
|
44 |
+
prompt = "painting of a beautiful woman with red hair, 8k, high quality"
|
45 |
+
image = pipe(prompt, height=768, width=768).images[0]
|
46 |
+
|
47 |
+
image.save("./result.jpg")
|
48 |
+
```
|
49 |
+
|
50 |
----
|
51 |
|
52 |
# → some great images users on [stablecog.com](https://stablecog.com) made with it:
|