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
1b739e73
Unverified
Commit
1b739e73
authored
Aug 14, 2023
by
AisingioroHao
Committed by
GitHub
Aug 14, 2023
Browse files
Fixed invalid pipeline_class_name parameter. (#4590)
* Fixed invalid pipeline_class_name parameter. * Fix the format
parent
d67eba0f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
scripts/convert_original_stable_diffusion_to_diffusers.py
scripts/convert_original_stable_diffusion_to_diffusers.py
+1
-0
No files found.
scripts/convert_original_stable_diffusion_to_diffusers.py
View file @
1b739e73
...
@@ -147,6 +147,7 @@ if __name__ == "__main__":
...
@@ -147,6 +147,7 @@ if __name__ == "__main__":
if
args
.
pipeline_class_name
is
not
None
:
if
args
.
pipeline_class_name
is
not
None
:
library
=
importlib
.
import_module
(
"diffusers"
)
library
=
importlib
.
import_module
(
"diffusers"
)
class_obj
=
getattr
(
library
,
args
.
pipeline_class_name
)
class_obj
=
getattr
(
library
,
args
.
pipeline_class_name
)
pipeline_class
=
class_obj
else
:
else
:
pipeline_class
=
None
pipeline_class
=
None
...
...
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