mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-15 14:50:55 -08:00
Index fix
This commit is contained in:
parent
6c0566f937
commit
8bec3a2aa1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue