diff options
author | invincibledude <> | 2023-01-22 11:35:34 +0000 |
---|---|---|
committer | invincibledude <> | 2023-01-22 11:35:34 +0000 |
commit | b331ca784ad831de088ad3915b45da39c2a76fa8 (patch) | |
tree | d8e36a97bf30bee616c5a7672e3f1173307be52b /modules/processing.py | |
parent | 8114959e7e937361b719cd85bec246ffd258dca6 (diff) | |
download | stable-diffusion-webui-gfx803-b331ca784ad831de088ad3915b45da39c2a76fa8.tar.gz stable-diffusion-webui-gfx803-b331ca784ad831de088ad3915b45da39c2a76fa8.tar.bz2 stable-diffusion-webui-gfx803-b331ca784ad831de088ad3915b45da39c2a76fa8.zip |
Fix
Diffstat (limited to 'modules/processing.py')
-rw-r--r-- | modules/processing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/processing.py b/modules/processing.py index f407e175..161999d5 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -517,7 +517,7 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed: p.all_negative_prompts = p.batch_size * p.n_iter * [shared.prompt_styles.apply_negative_styles_to_prompt(p.negative_prompt, p.styles)]
if type(p) == StableDiffusionProcessingTxt2Img:
- if p.hr_enabled and p.is_hr_pass:
+ if p.enable_hr and p.is_hr_pass:
if p.hr_prompt:
if type(p.prompt) == list:
p.all_prompts = [shared.prompt_styles.apply_styles_to_prompt(x, p.styles) for x in p.hr_prompt]
|