Skip to content

Commit cd502b2

Browse files
authored
Fix typo latens -> latents (huggingface#1171)
fix typo
1 parent e86a280 commit cd502b2

17 files changed

+17
-17
lines changed

examples/community/composable_stable_diffusion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class ComposableStableDiffusionPipeline(DiffusionPipeline):
3232
[CLIPTokenizer](https://huggingface.co/docs/transformers/v4.21.0/en/model_doc/clip#transformers.CLIPTokenizer).
3333
unet ([`UNet2DConditionModel`]): Conditional U-Net architecture to denoise the encoded image latents.
3434
scheduler ([`SchedulerMixin`]):
35-
A scheduler to be used in combination with `unet` to denoise the encoded image latens. Can be one of
35+
A scheduler to be used in combination with `unet` to denoise the encoded image latents. Can be one of
3636
[`DDIMScheduler`], [`LMSDiscreteScheduler`], or [`PNDMScheduler`].
3737
safety_checker ([`StableDiffusionSafetyChecker`]):
3838
Classification module that estimates whether generated images could be considered offsensive or harmful.

examples/community/imagic_stable_diffusion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class ImagicStableDiffusionPipeline(DiffusionPipeline):
5454
[CLIPTokenizer](https://huggingface.co/docs/transformers/v4.21.0/en/model_doc/clip#transformers.CLIPTokenizer).
5555
unet ([`UNet2DConditionModel`]): Conditional U-Net architecture to denoise the encoded image latents.
5656
scheduler ([`SchedulerMixin`]):
57-
A scheduler to be used in combination with `unet` to denoise the encoded image latens. Can be one of
57+
A scheduler to be used in combination with `unet` to denoise the encoded image latents. Can be one of
5858
[`DDIMScheduler`], [`LMSDiscreteScheduler`], or [`PNDMScheduler`].
5959
safety_checker ([`StableDiffusionSafetyChecker`]):
6060
Classification module that estimates whether generated images could be considered offsensive or harmful.

examples/community/interpolate_stable_diffusion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class StableDiffusionWalkPipeline(DiffusionPipeline):
6565
[CLIPTokenizer](https://huggingface.co/docs/transformers/v4.21.0/en/model_doc/clip#transformers.CLIPTokenizer).
6666
unet ([`UNet2DConditionModel`]): Conditional U-Net architecture to denoise the encoded image latents.
6767
scheduler ([`SchedulerMixin`]):
68-
A scheduler to be used in combination with `unet` to denoise the encoded image latens. Can be one of
68+
A scheduler to be used in combination with `unet` to denoise the encoded image latents. Can be one of
6969
[`DDIMScheduler`], [`LMSDiscreteScheduler`], or [`PNDMScheduler`].
7070
safety_checker ([`StableDiffusionSafetyChecker`]):
7171
Classification module that estimates whether generated images could be considered offensive or harmful.

examples/community/lpw_stable_diffusion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ class StableDiffusionLongPromptWeightingPipeline(DiffusionPipeline):
398398
[CLIPTokenizer](https://huggingface.co/docs/transformers/v4.21.0/en/model_doc/clip#transformers.CLIPTokenizer).
399399
unet ([`UNet2DConditionModel`]): Conditional U-Net architecture to denoise the encoded image latents.
400400
scheduler ([`SchedulerMixin`]):
401-
A scheduler to be used in combination with `unet` to denoise the encoded image latens. Can be one of
401+
A scheduler to be used in combination with `unet` to denoise the encoded image latents. Can be one of
402402
[`DDIMScheduler`], [`LMSDiscreteScheduler`], or [`PNDMScheduler`].
403403
safety_checker ([`StableDiffusionSafetyChecker`]):
404404
Classification module that estimates whether generated images could be considered offensive or harmful.

examples/community/seed_resize_stable_diffusion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class SeedResizeStableDiffusionPipeline(DiffusionPipeline):
3737
[CLIPTokenizer](https://huggingface.co/docs/transformers/v4.21.0/en/model_doc/clip#transformers.CLIPTokenizer).
3838
unet ([`UNet2DConditionModel`]): Conditional U-Net architecture to denoise the encoded image latents.
3939
scheduler ([`SchedulerMixin`]):
40-
A scheduler to be used in combination with `unet` to denoise the encoded image latens. Can be one of
40+
A scheduler to be used in combination with `unet` to denoise the encoded image latents. Can be one of
4141
[`DDIMScheduler`], [`LMSDiscreteScheduler`], or [`PNDMScheduler`].
4242
safety_checker ([`StableDiffusionSafetyChecker`]):
4343
Classification module that estimates whether generated images could be considered offensive or harmful.

examples/community/stable_diffusion_mega.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class StableDiffusionMegaPipeline(DiffusionPipeline):
4242
[CLIPTokenizer](https://huggingface.co/docs/transformers/v4.21.0/en/model_doc/clip#transformers.CLIPTokenizer).
4343
unet ([`UNet2DConditionModel`]): Conditional U-Net architecture to denoise the encoded image latents.
4444
scheduler ([`SchedulerMixin`]):
45-
A scheduler to be used in combination with `unet` to denoise the encoded image latens. Can be one of
45+
A scheduler to be used in combination with `unet` to denoise the encoded image latents. Can be one of
4646
[`DDIMScheduler`], [`LMSDiscreteScheduler`], or [`PNDMScheduler`].
4747
safety_checker ([`StableDiffusionMegaSafetyChecker`]):
4848
Classification module that estimates whether generated images could be considered offensive or harmful.

examples/community/wildcard_stable_diffusion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class WildcardStableDiffusionPipeline(DiffusionPipeline):
9999
[CLIPTokenizer](https://huggingface.co/docs/transformers/v4.21.0/en/model_doc/clip#transformers.CLIPTokenizer).
100100
unet ([`UNet2DConditionModel`]): Conditional U-Net architecture to denoise the encoded image latents.
101101
scheduler ([`SchedulerMixin`]):
102-
A scheduler to be used in combination with `unet` to denoise the encoded image latens. Can be one of
102+
A scheduler to be used in combination with `unet` to denoise the encoded image latents. Can be one of
103103
[`DDIMScheduler`], [`LMSDiscreteScheduler`], or [`PNDMScheduler`].
104104
safety_checker ([`StableDiffusionSafetyChecker`]):
105105
Classification module that estimates whether generated images could be considered offensive or harmful.

src/diffusers/pipelines/latent_diffusion/pipeline_latent_diffusion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class LDMTextToImagePipeline(DiffusionPipeline):
3232
[BertTokenizer](https://huggingface.co/docs/transformers/model_doc/bert#transformers.BertTokenizer).
3333
unet ([`UNet2DConditionModel`]): Conditional U-Net architecture to denoise the encoded image latents.
3434
scheduler ([`SchedulerMixin`]):
35-
A scheduler to be used in combination with `unet` to denoise the encoded image latens. Can be one of
35+
A scheduler to be used in combination with `unet` to denoise the encoded image latents. Can be one of
3636
[`DDIMScheduler`], [`LMSDiscreteScheduler`], or [`PNDMScheduler`].
3737
"""
3838

src/diffusers/pipelines/latent_diffusion_uncond/pipeline_latent_diffusion_uncond.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class LDMPipeline(DiffusionPipeline):
1818
Vector-quantized (VQ) Model to encode and decode images to and from latent representations.
1919
unet ([`UNet2DModel`]): U-Net architecture to denoise the encoded image latents.
2020
scheduler ([`SchedulerMixin`]):
21-
[`DDIMScheduler`] is to be used in combination with `unet` to denoise the encoded image latens.
21+
[`DDIMScheduler`] is to be used in combination with `unet` to denoise the encoded image latents.
2222
"""
2323

2424
def __init__(self, vqvae: VQModel, unet: UNet2DModel, scheduler: DDIMScheduler):

src/diffusers/pipelines/stable_diffusion/pipeline_cycle_diffusion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class CycleDiffusionPipeline(DiffusionPipeline):
107107
[CLIPTokenizer](https://huggingface.co/docs/transformers/v4.21.0/en/model_doc/clip#transformers.CLIPTokenizer).
108108
unet ([`UNet2DConditionModel`]): Conditional U-Net architecture to denoise the encoded image latents.
109109
scheduler ([`SchedulerMixin`]):
110-
A scheduler to be used in combination with `unet` to denoise the encoded image latens. Can be one of
110+
A scheduler to be used in combination with `unet` to denoise the encoded image latents. Can be one of
111111
[`DDIMScheduler`], [`LMSDiscreteScheduler`], or [`PNDMScheduler`].
112112
safety_checker ([`StableDiffusionSafetyChecker`]):
113113
Classification module that estimates whether generated images could be considered offensive or harmful.

0 commit comments

Comments
 (0)