Instructions to use nitrosocke/Ghibli-Diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nitrosocke/Ghibli-Diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("nitrosocke/Ghibli-Diffusion", 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
Commit History
-
Adding `safetensors` variant of this model (#15)
- Adding `safetensors` variant of this model (75f68c4d7a51cf573ded51526297fd2b8cdb84ff) Co-authored-by: Steven Liu <stevhliu@users.noreply.huggingface.co>7600fd7
-
Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (#11)
- Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (bc79078b65bbf29410773bb7796b0456bfcf7064)c4d73b0
-
Add `scale_factor` to vae config. (#10)
- Add `scale_factor` to vae config. (2031c4bcd7036ca6b091e894e1e105320135e850) Co-authored-by: Suraj Patil <valhalla@users.noreply.huggingface.co>441c2fd
-
Add `clip_sample=False` to scheduler to make model compatible with DDIM. (#8)
- Add `clip_sample=False` to scheduler to make model compatible with DDIM. (684cdf729f747c2ce198b2b7e71b68436a3bec74) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>b77a859
-
Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (#7)
- Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (9aba062bd1bc8b4b7a969dce3018a1c9bbdf435a) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>25f1bd8
-
minor typo (#6)
- minor typo (4bcc73654a7df01354e42a2a17f18485b4dc5ae3) Co-authored-by: Fabio Barth <barthfab@users.noreply.huggingface.co>358bba0 -
Update README.md
3d426d1 -
Upload ghibli-diffusion-thumbnail.jpg
143b457
-
Update README.md
0e9a945 -
add widget tags (#3)
- add widget tags (0e75e76fd895e01cf3967cb968c0878c27bd912c) Co-authored-by: Ahsen Khaliq <akhaliq@users.noreply.huggingface.co>85d268c -
Add Diffusers weights (#2)
- Add Diffusers weights (672590a74439a20a07f93695e3a3f807cf928434) Co-authored-by: Ahsen Khaliq <akhaliq@users.noreply.huggingface.co>5b57f12 -
Update README.md
d1d9b50 -
Update README.md
a929fcb -
Upload 4 files
e426c2f -
Create images/test.txt
f05f5a1
-
Upload ghibli-diffusion-v1.ckpt
5b8f955 -
initial commit
978283b