Views
No views yet
1from diffusers import StableDiffusionXLPipeline
2import torch
3
4pipe = StableDiffusionXLPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16)
5pipe.load_lora_weights("pltrinh1122/bi-directional-lighting-lora")primary_light: Controls primary light intensity (0.0-1.0)secondary_light: Controls secondary light intensity (0.0-1.0)