aboutsummaryrefslogtreecommitdiff
path: root/modules/txt2img.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-08-09 07:00:48 +0300
committerGitHub <noreply@github.com>2023-08-09 07:00:48 +0300
commit08e538e2e60d87b413eef3e0e3e62f20ea2a54f5 (patch)
tree2083dd1eabfbeb4e2df92e2bf5c1556d82a1e620 /modules/txt2img.py
parenta2360de3f343ab4deec180e0266aca69fae3a78c (diff)
parentbd4b4292ef6c2cb0a452b7105485ec06301b7531 (diff)
Merge pull request #12422 from catboxanon/fix/hr-same-sampler
Fix HR `Use same sampler` option
Diffstat (limited to 'modules/txt2img.py')
-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,