Skip to content

Commit d981298

Browse files
committed
Fix typos
1 parent ea1fcc2 commit d981298

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

src/diffusers/pipelines/controlnet/pipeline_controlnet_img2img.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ def __call__(
797797
instead.
798798
image (`torch.FloatTensor`, `PIL.Image.Image`, `np.ndarray`, `List[torch.FloatTensor]`, `List[PIL.Image.Image]`, `List[np.ndarray]`,:
799799
`List[List[torch.FloatTensor]]`, `List[List[np.ndarray]]` or `List[List[PIL.Image.Image]]`):
800-
The initial image will be used as the starting point for the image generation process. Can also accpet
800+
The initial image will be used as the starting point for the image generation process. Can also accept
801801
image latents as `image`, if passing latents directly, it will not be encoded again.
802802
control_image (`torch.FloatTensor`, `PIL.Image.Image`, `np.ndarray`, `List[torch.FloatTensor]`, `List[PIL.Image.Image]`, `List[np.ndarray]`,:
803803
`List[List[torch.FloatTensor]]`, `List[List[np.ndarray]]` or `List[List[PIL.Image.Image]]`):

src/diffusers/pipelines/kandinsky/pipeline_kandinsky_combined.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ def __call__(
474474
The prompt or prompts to guide the image generation.
475475
image (`torch.FloatTensor`, `PIL.Image.Image`, `np.ndarray`, `List[torch.FloatTensor]`, `List[PIL.Image.Image]`, or `List[np.ndarray]`):
476476
`Image`, or tensor representing an image batch, that will be used as the starting point for the
477-
process. Can also accpet image latents as `image`, if passing latents directly, it will not be encoded
477+
process. Can also accept image latents as `image`, if passing latents directly, it will not be encoded
478478
again.
479479
negative_prompt (`str` or `List[str]`, *optional*):
480480
The prompt or prompts not to guide the image generation. Ignored when not using guidance (i.e., ignored
@@ -720,7 +720,7 @@ def __call__(
720720
The prompt or prompts to guide the image generation.
721721
image (`torch.FloatTensor`, `PIL.Image.Image`, `np.ndarray`, `List[torch.FloatTensor]`, `List[PIL.Image.Image]`, or `List[np.ndarray]`):
722722
`Image`, or tensor representing an image batch, that will be used as the starting point for the
723-
process. Can also accpet image latents as `image`, if passing latents directly, it will not be encoded
723+
process. Can also accept image latents as `image`, if passing latents directly, it will not be encoded
724724
again.
725725
mask_image (`np.array`):
726726
Tensor representing an image batch, to mask `image`. White pixels in the mask will be repainted, while

src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_combined.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ def __call__(
455455
The prompt or prompts to guide the image generation.
456456
image (`torch.FloatTensor`, `PIL.Image.Image`, `np.ndarray`, `List[torch.FloatTensor]`, `List[PIL.Image.Image]`, or `List[np.ndarray]`):
457457
`Image`, or tensor representing an image batch, that will be used as the starting point for the
458-
process. Can also accpet image latents as `image`, if passing latents directly, it will not be encoded
458+
process. Can also accept image latents as `image`, if passing latents directly, it will not be encoded
459459
again.
460460
negative_prompt (`str` or `List[str]`, *optional*):
461461
The prompt or prompts not to guide the image generation. Ignored when not using guidance (i.e., ignored
@@ -692,7 +692,7 @@ def __call__(
692692
The prompt or prompts to guide the image generation.
693693
image (`torch.FloatTensor`, `PIL.Image.Image`, `np.ndarray`, `List[torch.FloatTensor]`, `List[PIL.Image.Image]`, or `List[np.ndarray]`):
694694
`Image`, or tensor representing an image batch, that will be used as the starting point for the
695-
process. Can also accpet image latents as `image`, if passing latents directly, it will not be encoded
695+
process. Can also accept image latents as `image`, if passing latents directly, it will not be encoded
696696
again.
697697
mask_image (`np.array`):
698698
Tensor representing an image batch, to mask `image`. White pixels in the mask will be repainted, while

src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_controlnet_img2img.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def __call__(
258258
The clip image embeddings for text prompt, that will be used to condition the image generation.
259259
image (`torch.FloatTensor`, `PIL.Image.Image`, `np.ndarray`, `List[torch.FloatTensor]`, `List[PIL.Image.Image]`, or `List[np.ndarray]`):
260260
`Image`, or tensor representing an image batch, that will be used as the starting point for the
261-
process. Can also accpet image latents as `image`, if passing latents directly, it will not be encoded
261+
process. Can also accept image latents as `image`, if passing latents directly, it will not be encoded
262262
again.
263263
strength (`float`, *optional*, defaults to 0.8):
264264
Conceptually, indicates how much to transform the reference `image`. Must be between 0 and 1. `image`

src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_img2img.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def __call__(
230230
The clip image embeddings for text prompt, that will be used to condition the image generation.
231231
image (`torch.FloatTensor`, `PIL.Image.Image`, `np.ndarray`, `List[torch.FloatTensor]`, `List[PIL.Image.Image]`, or `List[np.ndarray]`):
232232
`Image`, or tensor representing an image batch, that will be used as the starting point for the
233-
process. Can also accpet image latents as `image`, if passing latents directly, it will not be encoded
233+
process. Can also accept image latents as `image`, if passing latents directly, it will not be encoded
234234
again.
235235
strength (`float`, *optional*, defaults to 0.8):
236236
Conceptually, indicates how much to transform the reference `image`. Must be between 0 and 1. `image`

src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_pix2pix_zero.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,7 @@ def invert(
10951095
The prompt or prompts to guide the image generation. If not defined, one has to pass `prompt_embeds`.
10961096
instead.
10971097
image (`torch.FloatTensor` `np.ndarray`, `PIL.Image.Image`, `List[torch.FloatTensor]`, `List[PIL.Image.Image]`, or `List[np.ndarray]`):
1098-
`Image`, or tensor representing an image batch which will be used for conditioning. Can also accpet
1098+
`Image`, or tensor representing an image batch which will be used for conditioning. Can also accept
10991099
image latents as `image`, if passing latents directly, it will not be encoded again.
11001100
num_inference_steps (`int`, *optional*, defaults to 50):
11011101
The number of denoising steps. More denoising steps usually lead to a higher quality image at the

src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth_img2img.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ def __call__(
561561
The prompt or prompts to guide image generation. If not defined, you need to pass `prompt_embeds`.
562562
video (`List[np.ndarray]` or `torch.FloatTensor`):
563563
`video` frames or tensor representing a video batch to be used as the starting point for the process.
564-
Can also accpet video latents as `image`, if passing latents directly, it will not be encoded again.
564+
Can also accept video latents as `image`, if passing latents directly, it will not be encoded again.
565565
strength (`float`, *optional*, defaults to 0.8):
566566
Indicates extent to transform the reference `video`. Must be between 0 and 1. `video` is used as a
567567
starting point, adding more noise to it the larger the `strength`. The number of denoising steps

0 commit comments

Comments
 (0)