mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-22 12:30:53 -08:00
Merge branch 'master' into improved-hr-conflict-test
This commit is contained in:
commit
e97b83bdbb
29 changed files with 297 additions and 73 deletions
|
|
@ -624,13 +624,13 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed:
|
|||
break
|
||||
|
||||
prompts, extra_network_data = extra_networks.parse_prompts(prompts)
|
||||
|
||||
if type(p) == StableDiffusionProcessingTxt2Img:
|
||||
if p.enable_hr and hr_prompts != prompts:
|
||||
_, hr_extra_network_data = extra_networks.parse_prompts(hr_prompts)
|
||||
extra_network_data.update(hr_extra_network_data)
|
||||
|
||||
|
||||
|
||||
if not p.disable_extra_networks:
|
||||
with devices.autocast():
|
||||
extra_networks.activate(p, extra_network_data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue