From dcd0cf13a594da3e28d44dd73e14b01799a2699b Mon Sep 17 00:00:00 2001 From: "kyj@bowong.ai" Date: Thu, 31 Jul 2025 14:08:48 +0800 Subject: [PATCH] FIX --- ext/comfyui_modal_deploy.py | 2 +- ext/comfyui_modal_deploy_4ui.py | 2 +- nodes/image_nodes.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/comfyui_modal_deploy.py b/ext/comfyui_modal_deploy.py index 1a27b2e..f4c4ab6 100644 --- a/ext/comfyui_modal_deploy.py +++ b/ext/comfyui_modal_deploy.py @@ -26,7 +26,7 @@ image = ( .run_commands("comfy node install https://github.com/cubiq/ComfyUI_essentials.git") .run_commands("comfy node install https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes.git") .run_commands("comfy node install https://github.com/jamesWalker55/comfyui-various.git") - .run_commands("comfy node install https://gitea.bowongai.com/Polaris/ComfyUI-CustomNode.git") + .run_commands("comfy node install https://gitea.bowongai.com/Polaris/ComfyUI-CustomNode.git", force_build=True) .run_commands("comfy node install https://github.com/rgthree/rgthree-comfy.git") .run_commands("comfy node install https://github.com/yuvraj108c/ComfyUI-Dwpose-Tensorrt") .run_commands("comfy node install https://github.com/kijai/ComfyUI-DepthAnythingV2") diff --git a/ext/comfyui_modal_deploy_4ui.py b/ext/comfyui_modal_deploy_4ui.py index 62f5979..d4869fc 100644 --- a/ext/comfyui_modal_deploy_4ui.py +++ b/ext/comfyui_modal_deploy_4ui.py @@ -23,7 +23,7 @@ image = ( .run_commands("comfy node install https://github.com/WASasquatch/was-node-suite-comfyui.git") .run_commands("comfy node install https://github.com/cubiq/ComfyUI_essentials.git") .run_commands("comfy node install https://github.com/jamesWalker55/comfyui-various.git") - .run_commands("comfy node install https://gitea.bowongai.com/Polaris/ComfyUI-CustomNode.git") + .run_commands("comfy node install https://gitea.bowongai.com/Polaris/ComfyUI-CustomNode.git", force_build=True) .run_commands("comfy node install https://github.com/rgthree/rgthree-comfy.git") .run_commands("rm -rf /root/comfy/ComfyUI/models&&ln -s /models /root/comfy/ComfyUI/models") .run_commands("rm -rf /root/comfy/ComfyUI/input&&ln -s /models/input /root/comfy/ComfyUI/input") diff --git a/nodes/image_nodes.py b/nodes/image_nodes.py index 57f9f4d..047b9a5 100644 --- a/nodes/image_nodes.py +++ b/nodes/image_nodes.py @@ -19,7 +19,7 @@ class LoadImgOptional: files = [f for f in os.listdir(input_dir) if os.path.isfile(os.path.join(input_dir, f))] files = folder_paths.filter_files_content_types(files, ["image"]) return { - "required": { + "optional": { "image_url": ("STRING", { "default": "https://example.com/sample.jpg", "multiline": False