You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comfyui 52aaee2 update on 2024.07.02 chaged something about image input.Before this version,realtime is fast,after this version realtime is not real.
the update is like this:
_diff --git a/server.py b/server.py
index 30ea90c6c91c97a603af66b10419cfe65fa083bf..5b98620ad38010f3afb5bf70ab7d1df5242443f0 100644
--- a/server.py
+++ b/server.py
@@ -12,6 +12,7 @@ import json
import glob
import struct
import ssl
+import hashlib
from PIL import Image, ImageOps
from PIL.PngImagePlugin import PngInfo
from io import BytesIO
@@ -153,10 +154,24 @@ class PromptServer():
type_dir = folder_paths.get_output_directory()
return type_dir, dir_type
def compare_image_hash(filepath, image):
# function to compare hashes of two images to see if it already exists, fix to #3465
If I delete these codes in comfyui/server.py, everything will be faster.But every update will overwrite server.py.So,somebody could tell why this happen ?
The text was updated successfully, but these errors were encountered:
Comfyui 52aaee2 update on 2024.07.02 chaged something about image input.Before this version,realtime is fast,after this version realtime is not real.
the update is like this:
_diff --git a/server.py b/server.py
index 30ea90c6c91c97a603af66b10419cfe65fa083bf..5b98620ad38010f3afb5bf70ab7d1df5242443f0 100644
--- a/server.py
+++ b/server.py
@@ -12,6 +12,7 @@ import json
import glob
import struct
import ssl
+import hashlib
from PIL import Image, ImageOps
from PIL.PngImagePlugin import PngInfo
from io import BytesIO
@@ -153,10 +154,24 @@ class PromptServer():
type_dir = folder_paths.get_output_directory()
@@ -183,15 +198,19 @@ class PromptServer():
else:
i = 1
while os.path.exists(filepath):
If I delete these codes in comfyui/server.py, everything will be faster.But every update will overwrite server.py.So,somebody could tell why this happen ?
The text was updated successfully, but these errors were encountered: