Skip to content

Commit 8d74d4c

Browse files
Fix docstring
1 parent 94eca3c commit 8d74d4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/diffusers/loaders/lora_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -939,8 +939,8 @@ def set_lora_device(self, adapter_names: List[str], device: Union[torch.device,
939939
GPU before using those LoRA adapters for inference.
940940
941941
```python
942-
>>> pipe.load_lora_weights(<path-1>, adapter_name="adapter-1")
943-
>>> pipe.load_lora_weights(<path-1>, adapter_name="adapter-2")
942+
>>> pipe.load_lora_weights(path_1, adapter_name="adapter-1")
943+
>>> pipe.load_lora_weights(path_2, adapter_name="adapter-2")
944944
>>> pipe.set_adapters("adapter-1")
945945
>>> image_1 = pipe(**kwargs)
946946
>>> # switch to adapter-2, offload adapter-1

0 commit comments

Comments
 (0)