diff options
author | invincibledude <> | 2023-01-21 20:31:36 +0000 |
---|---|---|
committer | invincibledude <> | 2023-01-21 20:31:36 +0000 |
commit | 8bec3a2aa10d3c8ab15cca51b3b498e6ba350105 (patch) | |
tree | bbe7aee25856adbd88248533aa96de9b0aa7084c /modules/txt2img.py | |
parent | 6c0566f937ba212e3faf1d30c337850543e85a12 (diff) | |
download | stable-diffusion-webui-gfx803-8bec3a2aa10d3c8ab15cca51b3b498e6ba350105.tar.gz stable-diffusion-webui-gfx803-8bec3a2aa10d3c8ab15cca51b3b498e6ba350105.tar.bz2 stable-diffusion-webui-gfx803-8bec3a2aa10d3c8ab15cca51b3b498e6ba350105.zip |
Index fix
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 3d16ac5b..8560b74f 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].name
+ hr_sampler=sd_samplers.samplers[hr_sampler_index - 1].name
if hr_sampler_index != 0 else 0
)
|