Skip to content

Commit 600bc51

Browse files
committed
up
1 parent 1045988 commit 600bc51

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/diffusers/modular_pipelines/flux/denoise.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,5 +226,5 @@ def description(self) -> str:
226226
"At each iteration, it runs blocks defined in `sub_blocks` sequencially:\n"
227227
" - `FluxLoopDenoiser`\n"
228228
" - `FluxLoopAfterDenoiser`\n"
229-
"This block supports text2image tasks."
229+
"This block supports both text2image and img2img tasks."
230230
)

src/diffusers/modular_pipelines/flux/encoders.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,7 @@ def expected_components(self) -> List[ComponentSpec]:
8888

8989
@property
9090
def inputs(self) -> List[InputParam]:
91-
return [
92-
InputParam("image", required=True),
93-
InputParam("height"),
94-
InputParam("width"),
95-
]
91+
return [InputParam("image", required=True), InputParam("height"), InputParam("width")]
9692

9793
@property
9894
def intermediate_inputs(self) -> List[InputParam]:

0 commit comments

Comments
 (0)