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 -2
View File
@@ -11,7 +11,7 @@ class Snapload:
@classmethod
def INPUT_TYPES(s):
return {"required":
{"image": ("STRING", {"default": r"123"})},
{"image": ("STRING", {"default": r"请转换为输入并SnapCanvas的string输出"})},
}
CATEGORY = "Snap Processing"
@@ -44,7 +44,7 @@ class Snapload:
def _resolve_path(image) -> Path:
# 如果未提供图像路径,则使用默认路径
if not image:
default_path = Path("ComfyUI/custom_nodes/Comfyui_Snap-Processing/save/output.png").resolve()
default_path = Path("ComfyUI/custom_nodes/ComfyUI-Snap_Processing/save/output.png").resolve()
else:
default_path = Path(folder_paths.get_annotated_filepath(image)).resolve()