Skip to content

Commit 0a310da

Browse files
committed
empathy
1 parent 68a38e7 commit 0a310da

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

src/diffusers/modular_pipelines/flux/modular_blocks.py

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -87,18 +87,8 @@ def description(self):
8787

8888
# text2image
8989
class FluxAutoBlocks(SequentialPipelineBlocks):
90-
block_classes = [
91-
FluxTextEncoderStep,
92-
FluxAutoBeforeDenoiseStep,
93-
FluxAutoDenoiseStep,
94-
FluxAutoDecodeStep,
95-
]
96-
block_names = [
97-
"text_encoder",
98-
"before_denoise",
99-
"denoise",
100-
"decoder",
101-
]
90+
block_classes = [FluxTextEncoderStep, FluxAutoBeforeDenoiseStep, FluxAutoDenoiseStep, FluxAutoDecodeStep]
91+
block_names = ["text_encoder", "before_denoise", "denoise", "decoder"]
10292

10393
@property
10494
def description(self):
@@ -132,7 +122,4 @@ def description(self):
132122
)
133123

134124

135-
ALL_BLOCKS = {
136-
"text2image": TEXT2IMAGE_BLOCKS,
137-
"auto": AUTO_BLOCKS,
138-
}
125+
ALL_BLOCKS = {"text2image": TEXT2IMAGE_BLOCKS, "auto": AUTO_BLOCKS}

0 commit comments

Comments
 (0)