Unverified Commit 99c39b40 authored by Will Berman's avatar Will Berman Committed by GitHub
Browse files

[nit] negative_prompt typo (#2227)

* negative_prompt typo

* fix
parent 7547f9b4
...@@ -242,7 +242,7 @@ class AltDiffusionPipeline(DiffusionPipeline): ...@@ -242,7 +242,7 @@ class AltDiffusionPipeline(DiffusionPipeline):
number of images that should be generated per prompt number of images that should be generated per prompt
do_classifier_free_guidance (`bool`): do_classifier_free_guidance (`bool`):
whether to use classifier free guidance or not whether to use classifier free guidance or not
negative_ prompt (`str` or `List[str]`, *optional*): negative_prompt (`str` or `List[str]`, *optional*):
The prompt or prompts not to guide the image generation. If not defined, one has to pass The prompt or prompts not to guide the image generation. If not defined, one has to pass
`negative_prompt_embeds`. instead. If not defined, one has to pass `negative_prompt_embeds`. instead. `negative_prompt_embeds`. instead. If not defined, one has to pass `negative_prompt_embeds`. instead.
Ignored when not using guidance (i.e., ignored if `guidance_scale` is less than `1`). Ignored when not using guidance (i.e., ignored if `guidance_scale` is less than `1`).
......
...@@ -264,7 +264,7 @@ class AltDiffusionImg2ImgPipeline(DiffusionPipeline): ...@@ -264,7 +264,7 @@ class AltDiffusionImg2ImgPipeline(DiffusionPipeline):
number of images that should be generated per prompt number of images that should be generated per prompt
do_classifier_free_guidance (`bool`): do_classifier_free_guidance (`bool`):
whether to use classifier free guidance or not whether to use classifier free guidance or not
negative_ prompt (`str` or `List[str]`, *optional*): negative_prompt (`str` or `List[str]`, *optional*):
The prompt or prompts not to guide the image generation. If not defined, one has to pass The prompt or prompts not to guide the image generation. If not defined, one has to pass
`negative_prompt_embeds`. instead. If not defined, one has to pass `negative_prompt_embeds`. instead. `negative_prompt_embeds`. instead. If not defined, one has to pass `negative_prompt_embeds`. instead.
Ignored when not using guidance (i.e., ignored if `guidance_scale` is less than `1`). Ignored when not using guidance (i.e., ignored if `guidance_scale` is less than `1`).
......
...@@ -283,7 +283,7 @@ class CycleDiffusionPipeline(DiffusionPipeline): ...@@ -283,7 +283,7 @@ class CycleDiffusionPipeline(DiffusionPipeline):
number of images that should be generated per prompt number of images that should be generated per prompt
do_classifier_free_guidance (`bool`): do_classifier_free_guidance (`bool`):
whether to use classifier free guidance or not whether to use classifier free guidance or not
negative_ prompt (`str` or `List[str]`, *optional*): negative_prompt (`str` or `List[str]`, *optional*):
The prompt or prompts not to guide the image generation. If not defined, one has to pass The prompt or prompts not to guide the image generation. If not defined, one has to pass
`negative_prompt_embeds`. instead. If not defined, one has to pass `negative_prompt_embeds`. instead. `negative_prompt_embeds`. instead. If not defined, one has to pass `negative_prompt_embeds`. instead.
Ignored when not using guidance (i.e., ignored if `guidance_scale` is less than `1`). Ignored when not using guidance (i.e., ignored if `guidance_scale` is less than `1`).
......
...@@ -239,7 +239,7 @@ class StableDiffusionPipeline(DiffusionPipeline): ...@@ -239,7 +239,7 @@ class StableDiffusionPipeline(DiffusionPipeline):
number of images that should be generated per prompt number of images that should be generated per prompt
do_classifier_free_guidance (`bool`): do_classifier_free_guidance (`bool`):
whether to use classifier free guidance or not whether to use classifier free guidance or not
negative_ prompt (`str` or `List[str]`, *optional*): negative_prompt (`str` or `List[str]`, *optional*):
The prompt or prompts not to guide the image generation. If not defined, one has to pass The prompt or prompts not to guide the image generation. If not defined, one has to pass
`negative_prompt_embeds`. instead. If not defined, one has to pass `negative_prompt_embeds`. instead. `negative_prompt_embeds`. instead. If not defined, one has to pass `negative_prompt_embeds`. instead.
Ignored when not using guidance (i.e., ignored if `guidance_scale` is less than `1`). Ignored when not using guidance (i.e., ignored if `guidance_scale` is less than `1`).
......
...@@ -181,7 +181,7 @@ class StableDiffusionDepth2ImgPipeline(DiffusionPipeline): ...@@ -181,7 +181,7 @@ class StableDiffusionDepth2ImgPipeline(DiffusionPipeline):
number of images that should be generated per prompt number of images that should be generated per prompt
do_classifier_free_guidance (`bool`): do_classifier_free_guidance (`bool`):
whether to use classifier free guidance or not whether to use classifier free guidance or not
negative_ prompt (`str` or `List[str]`, *optional*): negative_prompt (`str` or `List[str]`, *optional*):
The prompt or prompts not to guide the image generation. If not defined, one has to pass The prompt or prompts not to guide the image generation. If not defined, one has to pass
`negative_prompt_embeds`. instead. If not defined, one has to pass `negative_prompt_embeds`. instead. `negative_prompt_embeds`. instead. If not defined, one has to pass `negative_prompt_embeds`. instead.
Ignored when not using guidance (i.e., ignored if `guidance_scale` is less than `1`). Ignored when not using guidance (i.e., ignored if `guidance_scale` is less than `1`).
......
...@@ -271,7 +271,7 @@ class StableDiffusionImg2ImgPipeline(DiffusionPipeline): ...@@ -271,7 +271,7 @@ class StableDiffusionImg2ImgPipeline(DiffusionPipeline):
number of images that should be generated per prompt number of images that should be generated per prompt
do_classifier_free_guidance (`bool`): do_classifier_free_guidance (`bool`):
whether to use classifier free guidance or not whether to use classifier free guidance or not
negative_ prompt (`str` or `List[str]`, *optional*): negative_prompt (`str` or `List[str]`, *optional*):
The prompt or prompts not to guide the image generation. If not defined, one has to pass The prompt or prompts not to guide the image generation. If not defined, one has to pass
`negative_prompt_embeds`. instead. If not defined, one has to pass `negative_prompt_embeds`. instead. `negative_prompt_embeds`. instead. If not defined, one has to pass `negative_prompt_embeds`. instead.
Ignored when not using guidance (i.e., ignored if `guidance_scale` is less than `1`). Ignored when not using guidance (i.e., ignored if `guidance_scale` is less than `1`).
......
...@@ -319,7 +319,7 @@ class StableDiffusionInpaintPipeline(DiffusionPipeline): ...@@ -319,7 +319,7 @@ class StableDiffusionInpaintPipeline(DiffusionPipeline):
number of images that should be generated per prompt number of images that should be generated per prompt
do_classifier_free_guidance (`bool`): do_classifier_free_guidance (`bool`):
whether to use classifier free guidance or not whether to use classifier free guidance or not
negative_ prompt (`str` or `List[str]`, *optional*): negative_prompt (`str` or `List[str]`, *optional*):
The prompt or prompts not to guide the image generation. If not defined, one has to pass The prompt or prompts not to guide the image generation. If not defined, one has to pass
`negative_prompt_embeds`. instead. If not defined, one has to pass `negative_prompt_embeds`. instead. `negative_prompt_embeds`. instead. If not defined, one has to pass `negative_prompt_embeds`. instead.
Ignored when not using guidance (i.e., ignored if `guidance_scale` is less than `1`). Ignored when not using guidance (i.e., ignored if `guidance_scale` is less than `1`).
......
...@@ -256,7 +256,7 @@ class StableDiffusionInpaintPipelineLegacy(DiffusionPipeline): ...@@ -256,7 +256,7 @@ class StableDiffusionInpaintPipelineLegacy(DiffusionPipeline):
number of images that should be generated per prompt number of images that should be generated per prompt
do_classifier_free_guidance (`bool`): do_classifier_free_guidance (`bool`):
whether to use classifier free guidance or not whether to use classifier free guidance or not
negative_ prompt (`str` or `List[str]`, *optional*): negative_prompt (`str` or `List[str]`, *optional*):
The prompt or prompts not to guide the image generation. If not defined, one has to pass The prompt or prompts not to guide the image generation. If not defined, one has to pass
`negative_prompt_embeds`. instead. If not defined, one has to pass `negative_prompt_embeds`. instead. `negative_prompt_embeds`. instead. If not defined, one has to pass `negative_prompt_embeds`. instead.
Ignored when not using guidance (i.e., ignored if `guidance_scale` is less than `1`). Ignored when not using guidance (i.e., ignored if `guidance_scale` is less than `1`).
......
...@@ -184,7 +184,7 @@ class StableDiffusionKDiffusionPipeline(DiffusionPipeline): ...@@ -184,7 +184,7 @@ class StableDiffusionKDiffusionPipeline(DiffusionPipeline):
number of images that should be generated per prompt number of images that should be generated per prompt
do_classifier_free_guidance (`bool`): do_classifier_free_guidance (`bool`):
whether to use classifier free guidance or not whether to use classifier free guidance or not
negative_ prompt (`str` or `List[str]`, *optional*): negative_prompt (`str` or `List[str]`, *optional*):
The prompt or prompts not to guide the image generation. If not defined, one has to pass The prompt or prompts not to guide the image generation. If not defined, one has to pass
`negative_prompt_embeds`. instead. If not defined, one has to pass `negative_prompt_embeds`. instead. `negative_prompt_embeds`. instead. If not defined, one has to pass `negative_prompt_embeds`. instead.
Ignored when not using guidance (i.e., ignored if `guidance_scale` is less than `1`). Ignored when not using guidance (i.e., ignored if `guidance_scale` is less than `1`).
......
...@@ -174,7 +174,7 @@ class StableDiffusionUpscalePipeline(DiffusionPipeline): ...@@ -174,7 +174,7 @@ class StableDiffusionUpscalePipeline(DiffusionPipeline):
number of images that should be generated per prompt number of images that should be generated per prompt
do_classifier_free_guidance (`bool`): do_classifier_free_guidance (`bool`):
whether to use classifier free guidance or not whether to use classifier free guidance or not
negative_ prompt (`str` or `List[str]`, *optional*): negative_prompt (`str` or `List[str]`, *optional*):
The prompt or prompts not to guide the image generation. If not defined, one has to pass The prompt or prompts not to guide the image generation. If not defined, one has to pass
`negative_prompt_embeds`. instead. If not defined, one has to pass `negative_prompt_embeds`. instead. `negative_prompt_embeds`. instead. If not defined, one has to pass `negative_prompt_embeds`. instead.
Ignored when not using guidance (i.e., ignored if `guidance_scale` is less than `1`). Ignored when not using guidance (i.e., ignored if `guidance_scale` is less than `1`).
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment