From 9b8a45d129b04003d2ccdcd8c330a35cc0a68d7b Mon Sep 17 00:00:00 2001 From: Jordan Thompson Date: Thu, 29 Jun 2023 17:51:18 -0700 Subject: [PATCH] Fix secondary model start in KSampler Cycle --- WAS_Node_Suite.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/WAS_Node_Suite.py b/WAS_Node_Suite.py index b932daf..dd0ef19 100644 --- a/WAS_Node_Suite.py +++ b/WAS_Node_Suite.py @@ -8348,7 +8348,7 @@ class WAS_KSampler_Cycle: else: denoise = round((cycle_denoise if i > 0 else starting_denoise), 2) - if i > (secondary_start_cycle - 1) and secondary_model: + if i >= (secondary_start_cycle - 1) and secondary_model: run_model = secondary_model denoise = cycle_denoise model = None @@ -8750,7 +8750,6 @@ class WAS_Prompt_Styles_Selector: def load_style(self, style): styles = {} - # Load styles from file if os.path.exists(STYLES_PATH): with open(STYLES_PATH, 'r') as data: styles = json.load(data) @@ -8765,8 +8764,6 @@ class WAS_Prompt_Styles_Selector: negative_prompt = '' return (prompt, negative_prompt) - - # Text Multiline Node