Instructions to use hakurei/waifu-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hakurei/waifu-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("hakurei/waifu-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
- Draw Things
- DiffusionBee
Update README.md
#10
by multimodalart HF Staff - opened
README.md
CHANGED
|
@@ -15,7 +15,8 @@ waifu-diffusion is a latent text-to-image diffusion model that has been conditio
|
|
| 15 |
|
| 16 |
# Gradio
|
| 17 |
|
| 18 |
-
We also support a [Gradio](https://github.com/gradio-app/gradio) web ui with diffusers to run
|
|
|
|
| 19 |
|
| 20 |
[](https://colab.research.google.com/drive/1_8wPN7dJO746QXsFnB09Uq2VGgSRFuYE#scrollTo=1HaCauSq546O)
|
| 21 |
|
|
|
|
| 15 |
|
| 16 |
# Gradio
|
| 17 |
|
| 18 |
+
We also support a [Gradio](https://github.com/gradio-app/gradio) web ui with diffusers to run Waifu Diffusion:
|
| 19 |
+
[](https://huggingface.co/spaces/hakurei/waifu-diffusion-demo)
|
| 20 |
|
| 21 |
[](https://colab.research.google.com/drive/1_8wPN7dJO746QXsFnB09Uq2VGgSRFuYE#scrollTo=1HaCauSq546O)
|
| 22 |
|