Unverified Commit 1b739e73 authored by AisingioroHao's avatar AisingioroHao Committed by GitHub
Browse files

Fixed invalid pipeline_class_name parameter. (#4590)

* Fixed invalid pipeline_class_name parameter.

* Fix the format
parent d67eba0f
......@@ -147,6 +147,7 @@ if __name__ == "__main__":
if args.pipeline_class_name is not None:
library = importlib.import_module("diffusers")
class_obj = getattr(library, args.pipeline_class_name)
pipeline_class = class_obj
else:
pipeline_class = None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment