From 7c6eb4fb29c2c3b4f12605003ab1b7c612d4b4e1 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Thu, 12 Sep 2024 20:27:07 -0400 Subject: [PATCH] Set some nodes as DEPRECATED. --- comfy_extras/nodes_perpneg.py | 1 + nodes.py | 1 + 2 files changed, 2 insertions(+) diff --git a/comfy_extras/nodes_perpneg.py b/comfy_extras/nodes_perpneg.py index 546276aa..762c4022 100644 --- a/comfy_extras/nodes_perpneg.py +++ b/comfy_extras/nodes_perpneg.py @@ -26,6 +26,7 @@ class PerpNeg: FUNCTION = "patch" CATEGORY = "_for_testing" + DEPRECATED = True def patch(self, model, empty_conditioning, neg_scale): m = model.clone() diff --git a/nodes.py b/nodes.py index 1f14aaf1..0d3749d4 100644 --- a/nodes.py +++ b/nodes.py @@ -511,6 +511,7 @@ class CheckpointLoader: FUNCTION = "load_checkpoint" CATEGORY = "advanced/loaders" + DEPRECATED = True def load_checkpoint(self, config_name, ckpt_name): config_path = folder_paths.get_full_path("configs", config_name)