Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
Instructions to use digiplay/nk15_diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use digiplay/nk15_diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("digiplay/nk15_diffusers", torch_dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
---
|
| 4 |
+
Model info:
|
| 5 |
+
https://civitai.com/models/84604/nk15
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
if you use this model in your diffusers,
|
| 9 |
+
show some AutoencoderKL errors,
|
| 10 |
+
Don worry, just use the codes below,
|
| 11 |
+
you can still generate images :)
|
| 12 |
+
|
| 13 |
+
modelid="digiplay/nk15_diffusers"
|
| 14 |
+
|
| 15 |
+
from diffusers.models import AutoencoderKL
|
| 16 |
+
|
| 17 |
+
vae = AutoencoderKL.from_pretrained("stabilityai/sd-vae-ft-mse")
|
| 18 |
+
|
| 19 |
+
pipe = DiffusionPipeline.from_pretrained(modelid, vae=vae)
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
|