From 7d6109aa6c0f6f1d482cebe314aa2939044a5f39 Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Tue, 26 Sep 2023 23:00:33 +0900 Subject: [PATCH] fix: add fileno on prestartup_script update DB --- __init__.py | 2 +- extension-node-map.json | 5 ++++- model-list.json | 11 +++++++++++ node_db/new/extension-node-map.json | 5 ++++- node_db/new/model-list.json | 10 ++++++++++ prestartup_script.py | 10 ++++++++++ 6 files changed, 40 insertions(+), 3 deletions(-) diff --git a/__init__.py b/__init__.py index a55ad1c..0d2f60b 100644 --- a/__init__.py +++ b/__init__.py @@ -56,7 +56,7 @@ sys.path.append('../..') from torchvision.datasets.utils import download_url # ensure .js -print("### Loading: ComfyUI-Manager (V0.30.5)") +print("### Loading: ComfyUI-Manager (V0.31)") comfy_ui_required_revision = 1240 comfy_ui_revision = "Unknown" diff --git a/extension-node-map.json b/extension-node-map.json index b42370c..7a828aa 100644 --- a/extension-node-map.json +++ b/extension-node-map.json @@ -569,6 +569,7 @@ ], "https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite": [ [ + "VHS_LoadVideo", "VHS_VideoCombine" ], { @@ -1982,7 +1983,6 @@ [ "ConsoleDebug+", "GetImageSize+", - "GrowShrinkMask+", "ImageCASharpening+", "ImageCrop+", "ImageDesaturate+", @@ -2374,6 +2374,7 @@ "FromDetailerPipe", "FromDetailerPipeSDXL", "FromDetailerPipe_v2", + "ImageListToImageBatch", "ImageMaskSwitch", "ImageReceiver", "ImageSender", @@ -2396,6 +2397,7 @@ "ImpactKSamplerAdvancedBasicPipe", "ImpactKSamplerBasicPipe", "ImpactLogger", + "ImpactMakeImageBatch", "ImpactMakeImageList", "ImpactMinMax", "ImpactNeg", @@ -2494,6 +2496,7 @@ "KSampler //Inspire", "KSamplerAdvanced //Inspire", "LeRes_DepthMap_Preprocessor_Provider_for_SEGS //Inspire", + "LoadImagesFromDir //Inspire", "LoadPromptsFromDir //Inspire", "LoadPromptsFromFile //Inspire", "LoraBlockInfo //Inspire", diff --git a/model-list.json b/model-list.json index 9f06932..c230565 100644 --- a/model-list.json +++ b/model-list.json @@ -1041,6 +1041,17 @@ "filename": "mm-Stabilized_mid.pth", "url": "https://huggingface.co/manshoety/AD_Stabilized_Motion/resolve/main/mm-Stabilized_mid.pth" }, + { + "name": "CiaraRowles/temporaldiff-v1-animatediff.ckpt (ComfyUI-AnimateDiff-Evolved)", + "type": "animatediff", + "base": "SD1.x", + "save_path": "custom_nodes/ComfyUI-AnimateDiff-Evolved/models", + "description": "Pressing 'install' directly downloads the model from the Kosinkadink/ComfyUI-AnimateDiff-Evolved extension node. (Note: Requires ComfyUI-Manager V0.24 or above)", + "reference": "https://huggingface.co/CiaraRowles/TemporalDiff", + "filename": "temporaldiff-v1-animatediff.ckpt", + "url": "https://huggingface.co/CiaraRowles/TemporalDiff/resolve/main/temporaldiff-v1-animatediff.ckpt" + }, + { "name": "ip-adapter_sdxl.bin
(install to IPAdapter-ComfyUI)", diff --git a/node_db/new/extension-node-map.json b/node_db/new/extension-node-map.json index b42370c..7a828aa 100644 --- a/node_db/new/extension-node-map.json +++ b/node_db/new/extension-node-map.json @@ -569,6 +569,7 @@ ], "https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite": [ [ + "VHS_LoadVideo", "VHS_VideoCombine" ], { @@ -1982,7 +1983,6 @@ [ "ConsoleDebug+", "GetImageSize+", - "GrowShrinkMask+", "ImageCASharpening+", "ImageCrop+", "ImageDesaturate+", @@ -2374,6 +2374,7 @@ "FromDetailerPipe", "FromDetailerPipeSDXL", "FromDetailerPipe_v2", + "ImageListToImageBatch", "ImageMaskSwitch", "ImageReceiver", "ImageSender", @@ -2396,6 +2397,7 @@ "ImpactKSamplerAdvancedBasicPipe", "ImpactKSamplerBasicPipe", "ImpactLogger", + "ImpactMakeImageBatch", "ImpactMakeImageList", "ImpactMinMax", "ImpactNeg", @@ -2494,6 +2496,7 @@ "KSampler //Inspire", "KSamplerAdvanced //Inspire", "LeRes_DepthMap_Preprocessor_Provider_for_SEGS //Inspire", + "LoadImagesFromDir //Inspire", "LoadPromptsFromDir //Inspire", "LoadPromptsFromFile //Inspire", "LoraBlockInfo //Inspire", diff --git a/node_db/new/model-list.json b/node_db/new/model-list.json index 651cd48..3262180 100644 --- a/node_db/new/model-list.json +++ b/node_db/new/model-list.json @@ -1,5 +1,15 @@ { "models": [ + { + "name": "CiaraRowles/temporaldiff-v1-animatediff.ckpt (ComfyUI-AnimateDiff-Evolved)", + "type": "animatediff", + "base": "SD1.x", + "save_path": "custom_nodes/ComfyUI-AnimateDiff-Evolved/models", + "description": "Pressing 'install' directly downloads the model from the Kosinkadink/ComfyUI-AnimateDiff-Evolved extension node. (Note: Requires ComfyUI-Manager V0.24 or above)", + "reference": "https://huggingface.co/CiaraRowles/TemporalDiff", + "filename": "temporaldiff-v1-animatediff.ckpt", + "url": "https://huggingface.co/CiaraRowles/TemporalDiff/resolve/main/temporaldiff-v1-animatediff.ckpt" + }, { "name": "animatediff/mm_sd_v15_v2.ckpt (ComfyUI-AnimateDiff-Evolved)", "type": "animatediff", diff --git a/prestartup_script.py b/prestartup_script.py index 2098add..9eed64c 100644 --- a/prestartup_script.py +++ b/prestartup_script.py @@ -27,6 +27,16 @@ try: def __init__(self, is_stdout): self.is_stdout = is_stdout + def fileno(self): + try: + if self.is_stdout: + return original_stdout.fileno() + else: + return original_stderr.fileno() + except AttributeError: + # Handle error + raise ValueError("The object does not have a fileno method") + def write(self, message): if not self.is_stdout: match = re.search(tqdm, message)