Views
No views yet
rhteddy.
1from diffusers import StableDiffusionPipeline
2import torch
3
4model_id = "cfchase/stable-diffusion-rhteddy"
5pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
6pipe = pipe.to("cuda")
7
8prompt = "a photo of rhteddy on the beach"
9image = pipe(prompt).images[0]
10image