
1from diffusers import DiffusionPipeline
2import torch
3
4pipeline = DiffusionPipeline.from_pretrained("rcannizzaro/sd-dsprites-model", torch_dtype=torch.float16)
5prompt = "A medium-sized heart shape, tilted to the left, positioned towards the left side and near the top of the image."
6image = pipeline(prompt).images[0]
7image.save("my_image.png")wandb run page.# TODO: add an example code snippet for running this diffusion pipeline