diff options
Diffstat (limited to 'modules/processing.py')
-rw-r--r-- | modules/processing.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/processing.py b/modules/processing.py index 605c541e..a2a91a5b 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -555,6 +555,12 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed: model_hijack.embedding_db.load_textual_inversion_embeddings()
_, extra_network_data = extra_networks.parse_prompts(p.all_prompts[0:1])
+ if type(p) == StableDiffusionProcessingTxt2Img:
+ if p.enable_hr and p.hr_prompt != '':
+ _, 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)
+
if p.scripts is not None:
p.scripts.process(p)
|