Skip to content

Commit 04c16d0

Browse files
committed
update
1 parent 9e58856 commit 04c16d0

File tree

1 file changed

+11
-11
lines changed
  • src/diffusers/modular_pipelines/stable_diffusion_xl

1 file changed

+11
-11
lines changed

src/diffusers/modular_pipelines/stable_diffusion_xl/denoise.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def expected_components(self) -> List[ComponentSpec]:
5454

5555
@property
5656
def description(self) -> str:
57-
return "step within the denoising loop that prepare the latent input for the denoiser. Used to compose the `blocks` attribute of a `LoopSequentialPipelineBlocks` object, e.g. `StableDiffusionXLDenoiseLoopWrapper`"
57+
return "step within the denoising loop that prepare the latent input for the denoiser. This block should be used to compose the `blocks` attribute of a `LoopSequentialPipelineBlocks` object (e.g. `StableDiffusionXLDenoiseLoopWrapper`)"
5858

5959

6060
@property
@@ -89,7 +89,7 @@ def expected_components(self) -> List[ComponentSpec]:
8989

9090
@property
9191
def description(self) -> str:
92-
return "step within the denoising loop that prepare the latent input for the denoiser (for inpainting workflow only). Used to compose the `blocks` attribute of a `LoopSequentialPipelineBlocks` object, e.g. `StableDiffusionXLDenoiseLoopWrapper`"
92+
return "step within the denoising loop that prepare the latent input for the denoiser (for inpainting workflow only). This block should be used to compose the `blocks` attribute of a `LoopSequentialPipelineBlocks` object"
9393

9494

9595
@property
@@ -165,7 +165,7 @@ def expected_components(self) -> List[ComponentSpec]:
165165
@property
166166
def description(self) -> str:
167167
return (
168-
"Step within the denoising loop that denoise the latents with guidance. Used to compose the `blocks` attribute of a `LoopSequentialPipelineBlocks` object, e.g. `StableDiffusionXLDenoiseLoopWrapper`"
168+
"Step within the denoising loop that denoise the latents with guidance. This block should be used to compose the `blocks` attribute of a `LoopSequentialPipelineBlocks` object (e.g. `StableDiffusionXLDenoiseLoopWrapper`)"
169169
)
170170

171171
@property
@@ -269,7 +269,7 @@ def expected_components(self) -> List[ComponentSpec]:
269269

270270
@property
271271
def description(self) -> str:
272-
return "step within the denoising loop that denoise the latents with guidance (with controlnet). Used to compose the `blocks` attribute of a `LoopSequentialPipelineBlocks` object, e.g. `StableDiffusionXLDenoiseLoopWrapper`"
272+
return "step within the denoising loop that denoise the latents with guidance (with controlnet). This block should be used to compose the `blocks` attribute of a `LoopSequentialPipelineBlocks` object (e.g. `StableDiffusionXLDenoiseLoopWrapper`)"
273273

274274
@property
275275
def inputs(self) -> List[Tuple[str, Any]]:
@@ -458,7 +458,7 @@ def expected_components(self) -> List[ComponentSpec]:
458458

459459
@property
460460
def description(self) -> str:
461-
return "step within the denoising loop that update the latents. Used to compose the `blocks` attribute of a `LoopSequentialPipelineBlocks` object, e.g. `StableDiffusionXLDenoiseLoopWrapper`"
461+
return "step within the denoising loop that update the latents. This block should be used to compose the `blocks` attribute of a `LoopSequentialPipelineBlocks` object (e.g. `StableDiffusionXLDenoiseLoopWrapper`)"
462462

463463
@property
464464
def inputs(self) -> List[Tuple[str, Any]]:
@@ -521,7 +521,7 @@ def expected_components(self) -> List[ComponentSpec]:
521521

522522
@property
523523
def description(self) -> str:
524-
return "step within the denoising loop that update the latents (for inpainting workflow only). Used to compose the `blocks` attribute of a `LoopSequentialPipelineBlocks` object, e.g. `StableDiffusionXLDenoiseLoopWrapper`"
524+
return "step within the denoising loop that update the latents (for inpainting workflow only). This block should be used to compose the `blocks` attribute of a `LoopSequentialPipelineBlocks` object (e.g. `StableDiffusionXLDenoiseLoopWrapper`)"
525525

526526
@property
527527
def inputs(self) -> List[Tuple[str, Any]]:
@@ -686,9 +686,9 @@ class StableDiffusionXLDenoiseLoop(StableDiffusionXLDenoiseLoopWrapper):
686686
@property
687687
def description(self) -> str:
688688
return (
689-
"Denoise step that iteratively denoise the latents. "
689+
"Denoise step that iteratively denoise the latents. \n"
690690
"Its loop logic is defined in `StableDiffusionXLDenoiseLoopWrapper.__call__` method \n"
691-
"and at each iteration, it runs blocks defined in `blocks` sequencially:\n"
691+
"At each iteration, it runs blocks defined in `blocks` sequencially:\n"
692692
" - `StableDiffusionXLDenoiseLoopBeforeDenoiser`\n"
693693
" - `StableDiffusionXLDenoiseLoopDenoiser`\n"
694694
" - `StableDiffusionXLDenoiseLoopAfterDenoiser`\n"
@@ -703,7 +703,7 @@ def description(self) -> str:
703703
return (
704704
"Denoise step that iteratively denoise the latents with controlnet. \n"
705705
"Its loop logic is defined in `StableDiffusionXLDenoiseLoopWrapper.__call__` method \n"
706-
"and at each iteration, it runs blocks defined in `blocks` sequencially:\n"
706+
"At each iteration, it runs blocks defined in `blocks` sequencially:\n"
707707
" - `StableDiffusionXLDenoiseLoopBeforeDenoiser`\n"
708708
" - `StableDiffusionXLControlNetDenoiseLoopDenoiser`\n"
709709
" - `StableDiffusionXLDenoiseLoopAfterDenoiser`\n"
@@ -718,7 +718,7 @@ def description(self) -> str:
718718
return (
719719
"Denoise step that iteratively denoise the latents(for inpainting task only). \n"
720720
"Its loop logic is defined in `StableDiffusionXLDenoiseLoopWrapper.__call__` method \n"
721-
"and at each iteration, it runs blocks defined in `blocks` sequencially:\n"
721+
"At each iteration, it runs blocks defined in `blocks` sequencially:\n"
722722
" - `StableDiffusionXLInpaintDenoiseLoopBeforeDenoiser`\n"
723723
" - `StableDiffusionXLDenoiseLoopDenoiser`\n"
724724
" - `StableDiffusionXLInpaintDenoiseLoopAfterDenoiser`\n"
@@ -732,7 +732,7 @@ def description(self) -> str:
732732
return (
733733
"Denoise step that iteratively denoise the latents(for inpainting task only) with controlnet. \n"
734734
"Its loop logic is defined in `StableDiffusionXLDenoiseLoopWrapper.__call__` method \n"
735-
"and at each iteration, it runs blocks defined in `blocks` sequencially:\n"
735+
"At each iteration, it runs blocks defined in `blocks` sequencially:\n"
736736
" - `StableDiffusionXLInpaintDenoiseLoopBeforeDenoiser`\n"
737737
" - `StableDiffusionXLControlNetDenoiseLoopDenoiser`\n"
738738
" - `StableDiffusionXLInpaintDenoiseLoopAfterDenoiser`\n"

0 commit comments

Comments
 (0)