Skip to content

Commit 30a72ee

Browse files
Apply style fixes
1 parent 58dfcf9 commit 30a72ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/diffusers/modular_pipelines/modular_pipeline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1998,8 +1998,8 @@ def load_components(self, names: Optional[Union[List[str], str]] = None, **kwarg
19981998
19991999
Args:
20002000
names: List of component names to load. If None, will load all components with
2001-
default_creation_method == "from_pretrained". If provided as a list or string,
2002-
will load only the specified components.
2001+
default_creation_method == "from_pretrained". If provided as a list or string, will load only the
2002+
specified components.
20032003
**kwargs: additional kwargs to be passed to `from_pretrained()`.Can be:
20042004
- a single value to be applied to all components to be loaded, e.g. torch_dtype=torch.bfloat16
20052005
- a dict, e.g. torch_dtype={"unet": torch.bfloat16, "default": torch.float32}

0 commit comments

Comments
 (0)