Text-to-Image
Diffusers
English
StableDiffusionPipeline
dreambooth
stable-diffusion
stable-diffusion-diffusers
Instructions to use lambda/dreambooth-avatar with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lambda/dreambooth-avatar with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("lambda/dreambooth-avatar", 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
Browse files
README.md
CHANGED
|
@@ -35,7 +35,7 @@ from torch import autocast
|
|
| 35 |
pipe = StableDiffusionPipeline.from_pretrained("lambdalabs/dreambooth-avatar", torch_dtype=torch.float16)
|
| 36 |
pipe = pipe.to("cuda")
|
| 37 |
|
| 38 |
-
prompt = "Yoda, avatarart style
|
| 39 |
scale = 7.5
|
| 40 |
n_samples = 4
|
| 41 |
|
|
|
|
| 35 |
pipe = StableDiffusionPipeline.from_pretrained("lambdalabs/dreambooth-avatar", torch_dtype=torch.float16)
|
| 36 |
pipe = pipe.to("cuda")
|
| 37 |
|
| 38 |
+
prompt = "Yoda, avatarart style"
|
| 39 |
scale = 7.5
|
| 40 |
n_samples = 4
|
| 41 |
|