Extra network in hr abomination fix

This commit is contained in:
invincibledude 2023-01-29 19:26:31 +03:00
parent 9beeef6267
commit 425eab3464

View File

@ -558,6 +558,7 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed:
if type(p) == StableDiffusionProcessingTxt2Img: if type(p) == StableDiffusionProcessingTxt2Img:
if p.enable_hr and p.hr_prompt != '': if p.enable_hr and p.hr_prompt != '':
_, hr_extra_network_data = extra_networks.parse_prompts(p.all_hr_prompts[0:1]) _, hr_extra_network_data = extra_networks.parse_prompts(p.all_hr_prompts[0:1])
if p.all_hr_prompts != p.all_prompts:
extra_network_data.update(hr_extra_network_data) extra_network_data.update(hr_extra_network_data)