aboutsummaryrefslogtreecommitdiffstats
path: root/modules/extra_networks.py
diff options
context:
space:
mode:
authormissionfloyd <missionfloyd@users.noreply.github.com>2023-07-12 08:57:57 +0000
committerGitHub <noreply@github.com>2023-07-12 08:57:57 +0000
commite0218c4f22396a1be8aa4fde3db17c6fc85904eb (patch)
tree9cc918c09da3afaa4dfd93a823e5485006b9e5c6 /modules/extra_networks.py
parent3fee3c34f1b01d21770ab0a226b432cdd8444792 (diff)
parent15adff3d6d5e8ba186b3df6eee8a8d774c8f3879 (diff)
downloadstable-diffusion-webui-gfx803-e0218c4f22396a1be8aa4fde3db17c6fc85904eb.tar.gz
stable-diffusion-webui-gfx803-e0218c4f22396a1be8aa4fde3db17c6fc85904eb.tar.bz2
stable-diffusion-webui-gfx803-e0218c4f22396a1be8aa4fde3db17c6fc85904eb.zip
Merge branch 'dev' into img2img-save
Diffstat (limited to 'modules/extra_networks.py')
-rw-r--r--modules/extra_networks.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/extra_networks.py b/modules/extra_networks.py
index 1f093df2..41799b0a 100644
--- a/modules/extra_networks.py
+++ b/modules/extra_networks.py
@@ -103,6 +103,9 @@ def activate(p, extra_network_data):
except Exception as e:
errors.display(e, f"activating extra network {extra_network_name}")
+ if p.scripts is not None:
+ p.scripts.after_extra_networks_activate(p, batch_number=p.iteration, prompts=p.prompts, seeds=p.seeds, subseeds=p.subseeds, extra_network_data=extra_network_data)
+
def deactivate(p, extra_network_data):
"""call deactivate for extra networks in extra_network_data in specified order, then call