aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcatboxanon <122327233+catboxanon@users.noreply.github.com>2023-08-09 00:55:08 +0000
committerGitHub <noreply@github.com>2023-08-09 00:55:08 +0000
commitbd4b4292ef6c2cb0a452b7105485ec06301b7531 (patch)
tree2083dd1eabfbeb4e2df92e2bf5c1556d82a1e620
parenta2360de3f343ab4deec180e0266aca69fae3a78c (diff)
downloadstable-diffusion-webui-gfx803-bd4b4292ef6c2cb0a452b7105485ec06301b7531.tar.gz
stable-diffusion-webui-gfx803-bd4b4292ef6c2cb0a452b7105485ec06301b7531.tar.bz2
stable-diffusion-webui-gfx803-bd4b4292ef6c2cb0a452b7105485ec06301b7531.zip
Fix hr use same sampler
-rw-r--r--modules/txt2img.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/txt2img.py b/modules/txt2img.py
index 8fa389b5..edad8930 100644
--- a/modules/txt2img.py
+++ b/modules/txt2img.py
@@ -42,7 +42,7 @@ def txt2img(id_task: str, prompt: str, negative_prompt: str, prompt_styles, step
hr_resize_x=hr_resize_x,
hr_resize_y=hr_resize_y,
hr_checkpoint_name=None if hr_checkpoint_name == 'Use same checkpoint' else hr_checkpoint_name,
- hr_sampler_name=hr_sampler_name,
+ hr_sampler_name=None if hr_sampler_name == 'Use same sampler' else hr_sampler_name,
hr_prompt=hr_prompt,
hr_negative_prompt=hr_negative_prompt,
override_settings=override_settings,