diff options
author | invincibledude <> | 2023-01-21 21:11:05 +0000 |
---|---|---|
committer | invincibledude <> | 2023-01-21 21:11:05 +0000 |
commit | 0f6862ef3041f3ee18e8236765b1c1958c84385b (patch) | |
tree | c851b404caa04f052b3e48e52a7ebe6b5e25942e /modules/txt2img.py | |
parent | 6cd7bf9f860dff3b61a50ec2d41915536cbcf448 (diff) | |
download | stable-diffusion-webui-gfx803-0f6862ef3041f3ee18e8236765b1c1958c84385b.tar.gz stable-diffusion-webui-gfx803-0f6862ef3041f3ee18e8236765b1c1958c84385b.tar.bz2 stable-diffusion-webui-gfx803-0f6862ef3041f3ee18e8236765b1c1958c84385b.zip |
PLMS edge-case handling fix 5
Diffstat (limited to 'modules/txt2img.py')
-rw-r--r-- | modules/txt2img.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/txt2img.py b/modules/txt2img.py index 9c8ec621..c6ea11c2 100644 --- a/modules/txt2img.py +++ b/modules/txt2img.py @@ -38,7 +38,7 @@ def txt2img(id_task: str, prompt: str, negative_prompt: str, prompt_styles, step hr_second_pass_steps=hr_second_pass_steps,
hr_resize_x=hr_resize_x,
hr_resize_y=hr_resize_y,
- hr_sampler=sd_samplers.samplers[hr_sampler_index - 1].name
+ hr_sampler=sd_samplers.samplers_for_img2img[hr_sampler_index - 1].name
if hr_sampler_index != 0 else '---'
)
|