diff --git a/nodes/nodes.py b/nodes/nodes.py index 7c48a96..2e92097 100644 --- a/nodes/nodes.py +++ b/nodes/nodes.py @@ -11,6 +11,7 @@ import comfy.sd import folder_paths import requests import piexif +import time from safetensors import safe_open from collections import deque @@ -58,9 +59,10 @@ class SimpleLoadLineFromTextFile: self.random_list = [] @classmethod - def IS_CHANGED(s, image): + def IS_CHANGED(s, start = 0, load_file = False, file_path = "", next = "increment", prefix = "", postfix = "", count = 0): #always update - m = hashlib.sha256().update(str(time.time()).encode("utf-8")) + m = hashlib.sha256() + m.update(str(time.time()).encode("utf-8")) return m.digest().hex() @classmethod