Skip to content

Commit 09fa592

Browse files
a-r-r-o-wsayakpaul
andauthored
Update src/diffusers/pipelines/pipeline_utils.py
Co-authored-by: Sayak Paul <[email protected]>
1 parent 41ccf7c commit 09fa592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/pipelines/pipeline_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1349,7 +1349,7 @@ def download(cls, pretrained_model_name, **kwargs) -> Union[str, os.PathLike]:
13491349
expected_components, _ = cls._get_signature_keys(pipeline_class)
13501350
passed_components = [k for k in expected_components if k in kwargs]
13511351

1352-
# retrieve all patterns that should not be downloaded
1352+
# retrieve all patterns that should not be downloaded and error out when needed
13531353
ignore_patterns = _get_ignore_patterns(
13541354
passed_components,
13551355
model_folder_names,

0 commit comments

Comments
 (0)