mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-29 07:22:12 +03:00
fix
This commit is contained in:
@@ -947,7 +947,7 @@ class SequentialPipelineBlocks(ModularPipelineBlocks):
|
||||
instance = cls()
|
||||
|
||||
# Create instances if classes are provided
|
||||
blocks = {}
|
||||
blocks = InsertableOrderedDict()
|
||||
for name, block in blocks_dict.items():
|
||||
if inspect.isclass(block):
|
||||
blocks[name] = block()
|
||||
|
||||
@@ -1698,7 +1698,13 @@ class StableDiffusionXLControlNetAutoInput(AutoPipelineBlocks):
|
||||
block_classes = [StableDiffusionXLControlNetUnionInputStep, StableDiffusionXLControlNetInputStep]
|
||||
block_names = ["controlnet_union", "controlnet"]
|
||||
block_trigger_inputs = ["control_mode", "control_image"]
|
||||
|
||||
|
||||
@property
|
||||
def description(self):
|
||||
return "Controlnet Input step that prepare the controlnet input.\n" + \
|
||||
"This is an auto pipeline block that works for both controlnet and controlnet_union.\n" + \
|
||||
" - `StableDiffusionXLControlNetUnionInputStep` is called to prepare the controlnet input when `control_mode` and `control_image` are provided.\n" + \
|
||||
" - `StableDiffusionXLControlNetInputStep` is called to prepare the controlnet input when `control_image` is provided."
|
||||
|
||||
|
||||
# Before denoise
|
||||
|
||||
Reference in New Issue
Block a user