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
|
@@ -10,15 +10,12 @@ 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 |
-
|
|
|
|
| 10 |
Don worry, just use the codes below,
|
| 11 |
you can still generate images :)
|
| 12 |
|
| 13 |
+
|
| 14 |
+
|
| 15 |
modelid="digiplay/nk15_diffusers"
|
| 16 |
|
| 17 |
from diffusers.models import AutoencoderKL
|
|
|
|
| 18 |
vae = AutoencoderKL.from_pretrained("stabilityai/sd-vae-ft-mse")
|
|
|
|
| 19 |
pipe = DiffusionPipeline.from_pretrained(modelid, vae=vae)
|
| 20 |
|
| 21 |
|
|
|
|
|
|
|
|
|