Update nodes.py

This commit is contained in:
KLL535
2025-01-27 01:14:51 +03:00
committed by GitHub
parent 631ad989ef
commit 49633dccab
+4 -2
View File
@@ -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