From 0beb5a89116c9000bd9924832538e5fae6a0e29d Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Fri, 15 Aug 2025 13:47:46 +0300 Subject: [PATCH] Update nodes.py --- fantasyportrait/nodes.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fantasyportrait/nodes.py b/fantasyportrait/nodes.py index dbe6aac..5e5dff6 100644 --- a/fantasyportrait/nodes.py +++ b/fantasyportrait/nodes.py @@ -73,10 +73,12 @@ class FantasyPortraitFaceDetector: "required": { "portrait_model": ("FANTASYPORTRAITMODEL",), "images": ("IMAGE",), + }, + "optional": { "adapter_scale": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01, "tooltip": "Scale for the adapter projection"}), "mouth_scale": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01, "tooltip": "Scale for the mouth projection"}), "emo_scale": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01, "tooltip": "Scale for the emotion projection"}), - }, + } } RETURN_TYPES = ("PORTRAIT_EMBEDS", "BBOX", "LANDMARKS")