Skip to content

Commit 0d1c5b0

Browse files
authored
Fix typo: 'will ge generated' -> 'will be generated' (#12231)
1 parent 0e46c55 commit 0d1c5b0

File tree

145 files changed

+159
-159
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+159
-159
lines changed

examples/community/composable_stable_diffusion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ def __call__(
398398
latents (`torch.Tensor`, *optional*):
399399
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
400400
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
401-
tensor will ge generated by sampling using the supplied random `generator`.
401+
tensor will be generated by sampling using the supplied random `generator`.
402402
output_type (`str`, *optional*, defaults to `"pil"`):
403403
The output format of the generate image. Choose between
404404
[PIL](https://pillow.readthedocs.io/en/stable/): `PIL.Image.Image` or `np.array`.

examples/community/imagic_stable_diffusion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def train(
147147
latents (`torch.Tensor`, *optional*):
148148
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
149149
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
150-
tensor will ge generated by sampling using the supplied random `generator`.
150+
tensor will be generated by sampling using the supplied random `generator`.
151151
output_type (`str`, *optional*, defaults to `"pil"`):
152152
The output format of the generate image. Choose between
153153
[PIL](https://pillow.readthedocs.io/en/stable/): `PIL.Image.Image` or `nd.array`.

examples/community/img2img_inpainting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def __call__(
197197
latents (`torch.Tensor`, *optional*):
198198
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
199199
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
200-
tensor will ge generated by sampling using the supplied random `generator`.
200+
tensor will be generated by sampling using the supplied random `generator`.
201201
output_type (`str`, *optional*, defaults to `"pil"`):
202202
The output format of the generate image. Choose between
203203
[PIL](https://pillow.readthedocs.io/en/stable/): `PIL.Image.Image` or `np.array`.

examples/community/interpolate_stable_diffusion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def __call__(
173173
latents (`torch.Tensor`, *optional*):
174174
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
175175
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
176-
tensor will ge generated by sampling using the supplied random `generator`.
176+
tensor will be generated by sampling using the supplied random `generator`.
177177
output_type (`str`, *optional*, defaults to `"pil"`):
178178
The output format of the generate image. Choose between
179179
[PIL](https://pillow.readthedocs.io/en/stable/): `PIL.Image.Image` or `np.array`.

examples/community/lpw_stable_diffusion.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ def __call__(
888888
latents (`torch.Tensor`, *optional*):
889889
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
890890
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
891-
tensor will ge generated by sampling using the supplied random `generator`.
891+
tensor will be generated by sampling using the supplied random `generator`.
892892
prompt_embeds (`torch.Tensor`, *optional*):
893893
Pre-generated text embeddings. Can be used to easily tweak text inputs, *e.g.* prompt weighting. If not
894894
provided, text embeddings will be generated from `prompt` input argument.
@@ -1131,7 +1131,7 @@ def text2img(
11311131
latents (`torch.Tensor`, *optional*):
11321132
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
11331133
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
1134-
tensor will ge generated by sampling using the supplied random `generator`.
1134+
tensor will be generated by sampling using the supplied random `generator`.
11351135
prompt_embeds (`torch.Tensor`, *optional*):
11361136
Pre-generated text embeddings. Can be used to easily tweak text inputs, *e.g.* prompt weighting. If not
11371137
provided, text embeddings will be generated from `prompt` input argument.

examples/community/lpw_stable_diffusion_onnx.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ def __call__(
721721
latents (`np.ndarray`, *optional*):
722722
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
723723
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
724-
tensor will ge generated by sampling using the supplied random `generator`.
724+
tensor will be generated by sampling using the supplied random `generator`.
725725
max_embeddings_multiples (`int`, *optional*, defaults to `3`):
726726
The max multiple length of prompt embeddings compared to the max output length of text encoder.
727727
output_type (`str`, *optional*, defaults to `"pil"`):
@@ -918,7 +918,7 @@ def text2img(
918918
latents (`np.ndarray`, *optional*):
919919
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
920920
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
921-
tensor will ge generated by sampling using the supplied random `generator`.
921+
tensor will be generated by sampling using the supplied random `generator`.
922922
max_embeddings_multiples (`int`, *optional*, defaults to `3`):
923923
The max multiple length of prompt embeddings compared to the max output length of text encoder.
924924
output_type (`str`, *optional*, defaults to `"pil"`):

examples/community/lpw_stable_diffusion_xl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1519,7 +1519,7 @@ def __call__(
15191519
latents (`torch.Tensor`, *optional*):
15201520
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
15211521
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
1522-
tensor will ge generated by sampling using the supplied random `generator`.
1522+
tensor will be generated by sampling using the supplied random `generator`.
15231523
ip_adapter_image: (`PipelineImageInput`, *optional*):
15241524
Optional image input to work with IP Adapters.
15251525
prompt_embeds (`torch.Tensor`, *optional*):

examples/community/multilingual_stable_diffusion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def __call__(
187187
latents (`torch.Tensor`, *optional*):
188188
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
189189
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
190-
tensor will ge generated by sampling using the supplied random `generator`.
190+
tensor will be generated by sampling using the supplied random `generator`.
191191
output_type (`str`, *optional*, defaults to `"pil"`):
192192
The output format of the generate image. Choose between
193193
[PIL](https://pillow.readthedocs.io/en/stable/): `PIL.Image.Image` or `np.array`.

examples/community/pipeline_controlnet_xl_kolors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ def __call__(
888888
latents (`torch.Tensor`, *optional*):
889889
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
890890
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
891-
tensor will ge generated by sampling using the supplied random `generator`.
891+
tensor will be generated by sampling using the supplied random `generator`.
892892
prompt_embeds (`torch.Tensor`, *optional*):
893893
Pre-generated text embeddings. Can be used to easily tweak text inputs, *e.g.* prompt weighting. If not
894894
provided, text embeddings will be generated from `prompt` input argument.

examples/community/pipeline_controlnet_xl_kolors_img2img.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1066,7 +1066,7 @@ def __call__(
10661066
latents (`torch.Tensor`, *optional*):
10671067
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
10681068
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
1069-
tensor will ge generated by sampling using the supplied random `generator`.
1069+
tensor will be generated by sampling using the supplied random `generator`.
10701070
prompt_embeds (`torch.Tensor`, *optional*):
10711071
Pre-generated text embeddings. Can be used to easily tweak text inputs, *e.g.* prompt weighting. If not
10721072
provided, text embeddings will be generated from `prompt` input argument.

0 commit comments

Comments
 (0)