mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-02-03 20:22:56 +08:00
Merge pull request #2 from InvincibleDude/extra-networks-test
Extra networks test
This commit is contained in:
commit
0d834b9394
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user