Views
No views yet
1from diffusers import AutoPipelineForText2Image
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to('cuda')
5pipeline.load_lora_weights('brushpenbob/graffiti-sticker-xl', weight_name='Graffiti_Sticker_XL.safetensors')
6image = pipeline('Your custom prompt').images[0]