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 Settings
- Draw Things
- DiffusionBee
add colab badge to run model with gradio and diffusers
#2
by akhaliq HF Staff - opened
README.md
CHANGED
|
@@ -13,6 +13,8 @@ inference: false
|
|
| 13 |
|
| 14 |
waifu-diffusion is a latent text-to-image diffusion model that has been conditioned on high-quality anime images through fine-tuning.
|
| 15 |
|
|
|
|
|
|
|
| 16 |
<img src=https://cdn.discordapp.com/attachments/930559077170421800/1017265913231327283/unknown.png width=40% height=40%>
|
| 17 |
|
| 18 |
## Model Description
|
|
|
|
| 13 |
|
| 14 |
waifu-diffusion is a latent text-to-image diffusion model that has been conditioned on high-quality anime images through fine-tuning.
|
| 15 |
|
| 16 |
+
[](https://colab.research.google.com/drive/1_8wPN7dJO746QXsFnB09Uq2VGgSRFuYE#scrollTo=1HaCauSq546O)
|
| 17 |
+
|
| 18 |
<img src=https://cdn.discordapp.com/attachments/930559077170421800/1017265913231327283/unknown.png width=40% height=40%>
|
| 19 |
|
| 20 |
## Model Description
|