Update nodes.py
This commit is contained in:
+4
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user