aboutsummaryrefslogtreecommitdiff
path: root/modules/txt2img.py
diff options
context:
space:
mode:
authorinvincibledude <>2023-01-22 00:11:05 +0300
committerinvincibledude <>2023-01-22 00:11:05 +0300
commit0f6862ef3041f3ee18e8236765b1c1958c84385b (patch)
treec851b404caa04f052b3e48e52a7ebe6b5e25942e /modules/txt2img.py
parent6cd7bf9f860dff3b61a50ec2d41915536cbcf448 (diff)
PLMS edge-case handling fix 5
Diffstat (limited to 'modules/txt2img.py')
-rw-r--r--modules/txt2img.py2
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 '---'
)