aboutsummaryrefslogtreecommitdiffstats
path: root/modules/processing.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-07-15 05:41:22 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2023-07-15 05:41:22 +0000
commit2b1bae0d755c2d5201f6a6aadeadb5588208d43f (patch)
treeacb519133f2d9dee1b98a33d1be15d56c97ef4d9 /modules/processing.py
parent127635409a7959f6c057a68ccb8e70734cbaf9f3 (diff)
downloadstable-diffusion-webui-gfx803-2b1bae0d755c2d5201f6a6aadeadb5588208d43f.tar.gz
stable-diffusion-webui-gfx803-2b1bae0d755c2d5201f6a6aadeadb5588208d43f.tar.bz2
stable-diffusion-webui-gfx803-2b1bae0d755c2d5201f6a6aadeadb5588208d43f.zip
add textual inversion hashes to infotext
Diffstat (limited to 'modules/processing.py')
-rw-r--r--modules/processing.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/processing.py b/modules/processing.py
index cd568a20..49441e77 100644
--- a/modules/processing.py
+++ b/modules/processing.py
@@ -732,9 +732,10 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed:
p.setup_conds()
- if len(model_hijack.comments) > 0:
- for comment in model_hijack.comments:
- comments[comment] = 1
+ for comment in model_hijack.comments:
+ comments[comment] = 1
+
+ p.extra_generation_params.update(model_hijack.extra_generation_params)
if p.n_iter > 1:
shared.state.job = f"Batch {n+1} out of {p.n_iter}"