Extra network in hr abomination fix
This commit is contained in:
parent
9beeef6267
commit
425eab3464
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user