Views
No views yet

1from diffusers import DiffusionPipeline
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained(
5 "warp-ai/wuerstchen", torch_dtype=torch.float16
6 )
7# load lora weights from folder:
8pipeline.prior_pipe.load_lora_weights("Aff4n20/wuerstchen-ancient-coins", torch_dtype=torch.float16)
9
10image = pipeline(prompt=prompt).images[0]
11image.save("my_image.png")wandb run page.