From c80f15465983c456f3fc63064febdf43cc2649b7 Mon Sep 17 00:00:00 2001 From: wl-zhao Date: Fri, 1 Nov 2024 20:21:27 +0800 Subject: [PATCH] input video --- comfy-nodes/input_video.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/comfy-nodes/input_video.py b/comfy-nodes/input_video.py index e1e75af..d087b70 100644 --- a/comfy-nodes/input_video.py +++ b/comfy-nodes/input_video.py @@ -124,6 +124,8 @@ class ShellAgentPluginInputVideo: @classmethod def VALIDATE_INPUTS(s, input_name, default_value, description=""): video = default_value + if video.startswith("http"): + return True if not folder_paths.exists_annotated_filepath(video): return "Invalid video file: {}".format(video) return True