From 5241cf50b9875f205d5ed994c044d65b973c2de1 Mon Sep 17 00:00:00 2001 From: Rhys Yang Date: Fri, 5 Jan 2024 22:25:08 +0800 Subject: [PATCH] Fix the input validation of the `Batch Loader` node #37 #38 --- nodes.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/nodes.py b/nodes.py index fd0a0f8..b191335 100644 --- a/nodes.py +++ b/nodes.py @@ -921,19 +921,6 @@ class SDBatchLoader: ): return os.listdir(path) - @classmethod - def VALIDATE_INPUTS( - s, - path, - image_load_limit, - start_index, - ): - if Path(path).is_file(): - return True - if not Path(path).is_dir(): - return f"Invalid directory: {path}" - return True - class SDParameterExtractor: @classmethod