Unverified Commit 3ecbbd62 authored by hysts's avatar hysts Committed by GitHub
Browse files

Minor fix in the documentation of LoRA (#2045)

Fix
parent 7c82a16f
......@@ -323,7 +323,7 @@ pipe.to("cuda")
Next, we can load the adapter layers into the UNet with the [`load_attn_procs` function](https://huggingface.co/docs/diffusers/api/loaders#diffusers.loaders.UNet2DConditionLoadersMixin.load_attn_procs).
```python
pipe.load_attn_procs("patrickvonplaten/lora")
pipe.unet.load_attn_procs("patrickvonplaten/lora_dreambooth_dog_example")
```
Finally, we can run the model in inference.
......
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