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
20a05d6a
Unverified
Commit
20a05d6a
authored
Nov 08, 2022
by
Pedro Cuenca
Committed by
GitHub
Nov 08, 2022
Browse files
Fix small typo (#1178)
Unless it's intentional, lol
parent
c3dcb674
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/configuration_utils.py
src/diffusers/configuration_utils.py
+1
-1
No files found.
src/diffusers/configuration_utils.py
View file @
20a05d6a
...
...
@@ -101,7 +101,7 @@ class ConfigMixin:
output_config_file
=
os
.
path
.
join
(
save_directory
,
self
.
config_name
)
self
.
to_json_file
(
output_config_file
)
logger
.
info
(
f
"Config
Mixin
uration saved in
{
output_config_file
}
"
)
logger
.
info
(
f
"Configuration saved in
{
output_config_file
}
"
)
@
classmethod
def
from_config
(
cls
,
pretrained_model_name_or_path
:
Union
[
str
,
os
.
PathLike
],
return_unused_kwargs
=
False
,
**
kwargs
):
...
...
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