We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50b740a commit b8fa81aCopy full SHA for b8fa81a
src/diffusers/pipelines/pipeline_utils.py
@@ -835,7 +835,7 @@ def load_module(name, value):
835
836
init_dict = {k: v for k, v in init_dict.items() if load_module(k, v)}
837
scheduler_types = expected_types["scheduler"][0]
838
- if isinstance(scheduler_types, enum.EnumType):
+ if isinstance(scheduler_types, enum.EnumMeta):
839
scheduler_types = list(scheduler_types)
840
else:
841
scheduler_types = [str(scheduler_types)]
0 commit comments