Skip to content

Commit 3720b3f

Browse files
DN6lawrence-cj
authored andcommitted
[Single File] Pass token when fetching interpreted config (huggingface#10082)
update
1 parent d24665a commit 3720b3f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/diffusers/loaders/single_file_model.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ def from_single_file(cls, pretrained_model_link_or_path_or_dict: Optional[str] =
269269
pretrained_model_name_or_path=default_pretrained_model_config_name,
270270
subfolder=subfolder,
271271
local_files_only=local_files_only,
272+
token=token,
272273
)
273274
expected_kwargs, optional_kwargs = cls._get_signature_keys(cls)
274275

0 commit comments

Comments
 (0)