File size: 567 Bytes
661109c 75c3967 661109c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
---
license: mit
tags:
- pytorch
- diffusers
- text-to-image
- diffusion-models-class
---
#### Resource GitHub repo: (https://github.com/ShivamShrirao/diffusers/tree/main/examples/dreambooth)
This model is a dreambooth diffusion model for text-to-image generation.
## Usage
```python
from diffusers import StableDiffusionPipeline
import torch
pipe = StableDiffusionPipeline.from_pretrained('Gulsum06/diff-dreambooth-finetuning', torch_dtype=torch.float16)
pipe = pipe.to("cuda")
prompt = "photo of zwx dog in a bucket"
image = pipe(prompt).images[0]
image
```
|