(prompt).images[0]
image  For both load_lora_weights() and load_attn_procs(), you can pass the cross_attention_kwargs={"scale": 0.5} parameter to adjust how much of the LoRA weights to use. A value of 0 is the same as only using the base model weights, and a value of 1 is equivalent to using the fully finetuned LoRA. To unload the LoRA weights, use the unload_lora_weights() method to discard the LoRA weights and restore the model to its origina