diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-12-03 07:21:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-03 07:21:43 +0000 |
commit | d2e5b4edfa90781430746dcf0cab4ce7dda4b3b3 (patch) | |
tree | a6a2a1263faffcc169b3e48bf8835adac68d36b4 /modules/processing.py | |
parent | 5267414319ef89c18061127fab971ffc1b5b24ad (diff) | |
parent | a44994e2c926fc1f8479281e5b1e08d7fe9db2bb (diff) | |
download | stable-diffusion-webui-gfx803-d2e5b4edfa90781430746dcf0cab4ce7dda4b3b3.tar.gz stable-diffusion-webui-gfx803-d2e5b4edfa90781430746dcf0cab4ce7dda4b3b3.tar.bz2 stable-diffusion-webui-gfx803-d2e5b4edfa90781430746dcf0cab4ce7dda4b3b3.zip |
Merge pull request #5251 from adieyal/bug/negative-prompt-infotext
Fixed incorrect negative prompt text in infotext
Diffstat (limited to 'modules/processing.py')
-rw-r--r-- | modules/processing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/processing.py b/modules/processing.py index fd995b8a..3d2c4dc9 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -414,7 +414,7 @@ def create_infotext(p, all_prompts, all_seeds, all_subseeds, comments, iteration generation_params_text = ", ".join([k if k == v else f'{k}: {generation_parameters_copypaste.quote(v)}' for k, v in generation_params.items() if v is not None])
- negative_prompt_text = "\nNegative prompt: " + p.all_negative_prompts[0] if p.all_negative_prompts[0] else ""
+ negative_prompt_text = "\nNegative prompt: " + p.all_negative_prompts[index] if p.all_negative_prompts[index] else ""
return f"{all_prompts[index]}{negative_prompt_text}\n{generation_params_text}".strip()
|