Skip to content

Commit fc7aa64

Browse files
Fixed pipeline parameter descriptions. (#3955)
Fixed parameter descriptions
1 parent d0979f5 commit fc7aa64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/diffusers/pipelines/kandinsky/pipeline_kandinsky_prior.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def interpolate(
192192
list of weights for each condition in `images_and_prompts`
193193
num_images_per_prompt (`int`, *optional*, defaults to 1):
194194
The number of images to generate per prompt.
195-
num_inference_steps (`int`, *optional*, defaults to 100):
195+
num_inference_steps (`int`, *optional*, defaults to 25):
196196
The number of denoising steps. More denoising steps usually lead to a higher quality image at the
197197
expense of slower inference.
198198
generator (`torch.Generator` or `List[torch.Generator]`, *optional*):
@@ -442,7 +442,7 @@ def __call__(
442442
generator: Optional[Union[torch.Generator, List[torch.Generator]]] = None,
443443
latents: Optional[torch.FloatTensor] = None,
444444
guidance_scale: float = 4.0,
445-
output_type: Optional[str] = "pt", # pt only
445+
output_type: Optional[str] = "pt",
446446
return_dict: bool = True,
447447
):
448448
"""
@@ -456,7 +456,7 @@ def __call__(
456456
if `guidance_scale` is less than `1`).
457457
num_images_per_prompt (`int`, *optional*, defaults to 1):
458458
The number of images to generate per prompt.
459-
num_inference_steps (`int`, *optional*, defaults to 100):
459+
num_inference_steps (`int`, *optional*, defaults to 25):
460460
The number of denoising steps. More denoising steps usually lead to a higher quality image at the
461461
expense of slower inference.
462462
generator (`torch.Generator` or `List[torch.Generator]`, *optional*):

0 commit comments

Comments
 (0)