PLMS edge-case handling fix 5

This commit is contained in:
invincibledude
2023-01-22 00:11:05 +03:00
parent 6cd7bf9f86
commit 0f6862ef30
3 changed files with 2 additions and 4 deletions

View File

@@ -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 '---'
)