Skip to content

Commit 1b739e7

Browse files
authored
Fixed invalid pipeline_class_name parameter. (huggingface#4590)
* Fixed invalid pipeline_class_name parameter. * Fix the format
1 parent d67eba0 commit 1b739e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/convert_original_stable_diffusion_to_diffusers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@
147147
if args.pipeline_class_name is not None:
148148
library = importlib.import_module("diffusers")
149149
class_obj = getattr(library, args.pipeline_class_name)
150+
pipeline_class = class_obj
150151
else:
151152
pipeline_class = None
152153

0 commit comments

Comments
 (0)