We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f876ea8 commit b7b6081Copy full SHA for b7b6081
src/diffusers/loaders/peft.py
@@ -478,7 +478,7 @@ def set_adapters(
478
Args:
479
adapter_names (`list[str]` or `str`):
480
The names of the adapters to use.
481
- weights (`list[float] | float`, *optional*):
+ weights (`Union[List[float], float]`, *optional*):
482
The adapter(s) weights to use with the UNet. If `None`, the weights are set to `1.0` for all the
483
adapters.
484
0 commit comments