Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
6db33337
Unverified
Commit
6db33337
authored
Dec 03, 2024
by
Dhruv Nair
Committed by
GitHub
Dec 02, 2024
Browse files
[Single File] Pass token when fetching interpreted config (#10082)
update
parent
beb85668
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/diffusers/loaders/single_file_model.py
src/diffusers/loaders/single_file_model.py
+1
-0
No files found.
src/diffusers/loaders/single_file_model.py
View file @
6db33337
...
...
@@ -269,6 +269,7 @@ class FromOriginalModelMixin:
pretrained_model_name_or_path
=
default_pretrained_model_config_name
,
subfolder
=
subfolder
,
local_files_only
=
local_files_only
,
token
=
token
,
)
expected_kwargs
,
optional_kwargs
=
cls
.
_get_signature_keys
(
cls
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment