Skip to content

Commit 08ec90f

Browse files
committed
fix api docs
1 parent 07486a9 commit 08ec90f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/diffusers/pipelines/kandinsky3/pipeline_kandinsky3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def encode_prompt(
110110
Encodes the prompt into text encoder hidden states.
111111
112112
Args:
113-
prompt (`str` or `List[str]`, *optional*):
113+
prompt (`str` or `List[str]`, *optional*):
114114
prompt to be encoded
115115
device: (`torch.device`, *optional*):
116116
torch device to place the resulting embeddings on
@@ -365,7 +365,7 @@ def __call__(
365365
prompt (`str` or `List[str]`, *optional*):
366366
The prompt or prompts to guide the image generation. If not defined, one has to pass `prompt_embeds`.
367367
instead.
368-
num_inference_steps (`int`, *optional*, defaults to 50):
368+
num_inference_steps (`int`, *optional*, defaults to 25):
369369
The number of denoising steps. More denoising steps usually lead to a higher quality image at the
370370
expense of slower inference.
371371
timesteps (`List[int]`, *optional*):

0 commit comments

Comments
 (0)