From 069eafb8d8ae91db8f4a87bca7e5dcc775cec8a3 Mon Sep 17 00:00:00 2001 From: Patrice Ferlet Date: Sun, 2 Mar 2025 23:00:49 +0100 Subject: [PATCH] My bad, I removed input image Making hot fixes is a bad idea, I badly merged and fix a conflict without correctly testing. --- nodes.py | 13 ++++++++++++- pyproject.toml | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/nodes.py b/nodes.py index 4723f96..61d8d31 100644 --- a/nodes.py +++ b/nodes.py @@ -45,7 +45,18 @@ class HumanParts: if segment[0] != "" } - inputs = {"required": {}, "optional": {}} + inputs = { + "required": { + "image": ( + "IMAGE", + { + "label": "Image", + "tooltip": "The image in which to detect human parts", + }, + ) + }, + "optional": {}, + } inputs["required"].update(entries) return inputs diff --git a/pyproject.toml b/pyproject.toml index ff80218..382e264 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui_human_parts" description = "Detect human parts using the DeepLabV3+ ResNet50 model from Keras-io. You can extract hair, arms, legs, and other parts with ease and with small memory usage." -version = "1.0.0" +version = "1.0.2" license = { file = "LICENSE" } dependencies = ["onnxruntime", "numpy", "Pillow"]