Add a description of what you changed

This commit is contained in:
SS-snap
2024-10-03 17:44:00 +08:00
parent 77eca36a78
commit d60c06e805
26 changed files with 152 additions and 52 deletions
+2 -3
View File
@@ -42,9 +42,8 @@ class PyQtCanvasNode:
print("Converted QImage to NumPy array")
# Define the save directory
save_directory = os.path.join(os.getcwd(), "ComfyUI", "custom_nodes", "Comfyui_Snap-Processing", "save")
if not os.path.exists(save_directory):
os.makedirs(save_directory)
save_directory = os.path.join(os.getcwd(), "ComfyUI", "custom_nodes", "ComfyUI-Snap_Processing", "save")
# Create a unique file name using the seed and current timestamp
timestamp = int(time.time())