Views
No views yet
d4z to trigger the image generation.1from diffusers import AutoPipelineForText2Image
2import torch
3
4device = "cuda" if torch.cuda.is_available() else "cpu"
5
6pipeline = AutoPipelineForText2Image.from_pretrained('runwayml/stable-diffusion-v1-5', torch_dtype=torch.float16).to(device)
7pipeline.load_lora_weights('brenry/dazman79', weight_name='d4z.safetensors')
8image = pipeline('d4z').images[0]