Add a description of what you changed
This commit is contained in:
+2
-2
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user