mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-24 10:51:03 -08:00
Extra networks loading fix
This commit is contained in:
parent
c92ec3a925
commit
6127d2ff1b
1 changed files with 2 additions and 2 deletions
|
|
@ -600,7 +600,7 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed:
|
|||
if not p.disable_extra_networks:
|
||||
if type(p) == StableDiffusionProcessingTxt2Img:
|
||||
if p.enable_hr and p.hr_prompt != '':
|
||||
extra_networks.activate(p, extra_network_data + hr_extra_network_data)
|
||||
extra_networks.activate(p, extra_network_data | hr_extra_network_data)
|
||||
else:
|
||||
extra_networks.activate(p, extra_network_data)
|
||||
|
||||
|
|
@ -755,7 +755,7 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed:
|
|||
if not p.disable_extra_networks:
|
||||
if type(p) == StableDiffusionProcessingTxt2Img:
|
||||
if p.enable_hr and p.hr_prompt != '':
|
||||
extra_networks.deactivate(p, extra_network_data + hr_extra_network_data)
|
||||
extra_networks.deactivate(p, extra_network_data | hr_extra_network_data)
|
||||
else:
|
||||
extra_networks.deactivate(p, extra_network_data)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue