Last active 1728853856

Diffusers-4.py Raw
1from diffusers import DiffusionPipeline
2import torch
3
4pipeline = DiffusionPipeline.from_pretrained("stable-diffusion-v1-5/stable-diffusion-v1-5", torch_dtype=torch.float16)
5pipeline.to("cuda")
6pipeline("An image of a squirrel in Picasso style").images[0]