Commit 425eab34 authored by invincibledude's avatar invincibledude
Browse files

Extra network in hr abomination fix

parent 9beeef62
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -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)