Commit 8bec3a2a authored by invincibledude's avatar invincibledude

Index fix

parent 6c0566f9
......@@ -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].name
hr_sampler=sd_samplers.samplers[hr_sampler_index - 1].name
if hr_sampler_index != 0 else 0
)
......
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