From 7387f1e49d5d797d934db0d1d3c95eb1336c7161 Mon Sep 17 00:00:00 2001 From: Jordan Phillips Date: Tue, 9 Apr 2024 07:03:54 -0700 Subject: [PATCH] Remove IS_CHANGED that causes re-execution Relies instead on the seed to trigger re-execution, making the prompt output unchanged for subsequent adjustments to workflows with the same seed. --- sdxl_utility.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sdxl_utility.py b/sdxl_utility.py index ffa2fb7..4b31843 100644 --- a/sdxl_utility.py +++ b/sdxl_utility.py @@ -56,10 +56,6 @@ class PromptGenerator: def __init__(self, seed=None): self.rng = random.Random(seed) - @classmethod - def IS_CHANGED(cls): - return float("NaN") - @classmethod def INPUT_TYPES(cls): return {