From b67bd90eb6125187fdbdd90656e8cdc98704f46b Mon Sep 17 00:00:00 2001 From: smthemex <138738845+smthemex@users.noreply.github.com> Date: Fri, 11 Oct 2024 18:10:04 +0800 Subject: [PATCH] Update Storydiffusion_node.py --- Storydiffusion_node.py | 70 ++++++++++++++++++++++++++++++++++++------ 1 file changed, 61 insertions(+), 9 deletions(-) diff --git a/Storydiffusion_node.py b/Storydiffusion_node.py index 0d269e5..a6b8d39 100644 --- a/Storydiffusion_node.py +++ b/Storydiffusion_node.py @@ -443,7 +443,7 @@ def process_generation( lora, trigger_words, photomake_mode, use_kolor, use_flux, make_dual_only, kolor_face, pulid, story_maker, input_id_emb_s_dict, input_id_img_s_dict, input_id_emb_un_dict, input_id_cloth_dict, guidance, condition_image, - empty_emb_zero, use_cf, cf_scheduler, controlnet_path, controlnet_scale, cn_dict + empty_emb_zero, use_cf, cf_scheduler, controlnet_path, controlnet_scale, cn_dict,input_tag_dict ): # Corrected font_choice usage if len(general_prompt.splitlines()) >= 3: @@ -521,6 +521,14 @@ def process_generation( ref_indexs_dict, ref_totals, ) = process_original_prompt(character_dict, prompts, id_length, img_mode) + + if input_tag_dict: + if len(input_tag_dict)