images[0]
image  The load_lora_weights() method loads LoRA weights into both the UNet and text encoder. It is the preferred way for loading LoRAs because it can handle cases where: the LoRA weights don’t have separate identifiers for the UNet and text encoder the LoRA weights have separate identifiers for the UNet and text encoder But if you only need to load LoRA weights into the UNet, then you can use the load_attn_procs() method. Let’s load 