Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
fc7aa64e
Unverified
Commit
fc7aa64e
authored
Jul 11, 2023
by
Michael Monashev
Committed by
GitHub
Jul 11, 2023
Browse files
Fixed pipeline parameter descriptions. (#3955)
Fixed parameter descriptions
parent
d0979f52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/diffusers/pipelines/kandinsky/pipeline_kandinsky_prior.py
...diffusers/pipelines/kandinsky/pipeline_kandinsky_prior.py
+3
-3
No files found.
src/diffusers/pipelines/kandinsky/pipeline_kandinsky_prior.py
View file @
fc7aa64e
...
...
@@ -192,7 +192,7 @@ class KandinskyPriorPipeline(DiffusionPipeline):
list of weights for each condition in `images_and_prompts`
num_images_per_prompt (`int`, *optional*, defaults to 1):
The number of images to generate per prompt.
num_inference_steps (`int`, *optional*, defaults to
100
):
num_inference_steps (`int`, *optional*, defaults to
25
):
The number of denoising steps. More denoising steps usually lead to a higher quality image at the
expense of slower inference.
generator (`torch.Generator` or `List[torch.Generator]`, *optional*):
...
...
@@ -442,7 +442,7 @@ class KandinskyPriorPipeline(DiffusionPipeline):
generator
:
Optional
[
Union
[
torch
.
Generator
,
List
[
torch
.
Generator
]]]
=
None
,
latents
:
Optional
[
torch
.
FloatTensor
]
=
None
,
guidance_scale
:
float
=
4.0
,
output_type
:
Optional
[
str
]
=
"pt"
,
# pt only
output_type
:
Optional
[
str
]
=
"pt"
,
return_dict
:
bool
=
True
,
):
"""
...
...
@@ -456,7 +456,7 @@ class KandinskyPriorPipeline(DiffusionPipeline):
if `guidance_scale` is less than `1`).
num_images_per_prompt (`int`, *optional*, defaults to 1):
The number of images to generate per prompt.
num_inference_steps (`int`, *optional*, defaults to
100
):
num_inference_steps (`int`, *optional*, defaults to
25
):
The number of denoising steps. More denoising steps usually lead to a higher quality image at the
expense of slower inference.
generator (`torch.Generator` or `List[torch.Generator]`, *optional*):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment