Unverified Commit afc97218 authored by Cyan's avatar Cyan Committed by GitHub
Browse files

Fix typo in LoRA (#12228)

Fix formatting in using_peft_for_inference.md
parent 2c4ee10b
...@@ -94,7 +94,7 @@ pipeline = AutoPipelineForText2Image.from_pretrained( ...@@ -94,7 +94,7 @@ pipeline = AutoPipelineForText2Image.from_pretrained(
pipeline.unet.load_lora_adapter( pipeline.unet.load_lora_adapter(
"jbilcke-hf/sdxl-cinematic-1", "jbilcke-hf/sdxl-cinematic-1",
weight_name="pytorch_lora_weights.safetensors", weight_name="pytorch_lora_weights.safetensors",
adapter_name="cinematic" adapter_name="cinematic",
prefix="unet" prefix="unet"
) )
# use cnmt in the prompt to trigger the LoRA # use cnmt in the prompt to trigger the LoRA
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment