Skip to content

Commit e49811d

Browse files
committed
1.11.1
1 parent 80a4ff9 commit e49811d

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

node/load.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -866,9 +866,9 @@ class AutoControlNetApply:
866866
def INPUT_TYPES(s):
867867
return {"required": {
868868
"image": ("IMAGE", {"tooltip": "Ảnh đầu vào cho ControlNet."}),
869-
"control_net": (none2list(s.list_full_controlnet_model),{"tooltip": "Chọn model ControlNet."}),
870-
"preprocessor": (preprocessor_list(),{"tooltip": "Tiền xử lý ảnh cho ControlNet."}),
871-
"union_type": (["None","auto"] + list(UNION_CONTROLNET_TYPES.keys()),{"tooltip": "Kiểu hợp nhất ControlNet (nếu có)."}),
869+
"control_net": (none2list(s.list_full_controlnet_model),{"tooltip": "Chọn model ControlNet, một số model có trong danh sách tải xuống tự động."}),
870+
"preprocessor": (preprocessor_list(),{"tooltip": "Tiền xử lý ảnh cho ControlNet, cần cài đặt ControlNet Aux."}),
871+
"union_type": (["None","auto"] + list(UNION_CONTROLNET_TYPES.keys()),{"tooltip": "Kiểu hợp nhất ControlNet (Áp dụng cho Controlnet Union)."}),
872872
"resolution": ("INT", {"default": 512, "min": 512, "max": 2048, "step": 1, "tooltip": "Độ phân giải cho preprocessor."}),
873873
"strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01, "tooltip": "Mức độ ảnh hưởng của ControlNet lên ảnh sinh ra."}),
874874
"start_percent": ("FLOAT", {"default": 0.0, "min": 0.0, "max": 1.0, "step": 0.001, "tooltip": "Phần trăm bước đầu sử dụng ControlNet."}),
@@ -877,13 +877,17 @@ def INPUT_TYPES(s):
877877
"optional": {
878878
"positive": ("CONDITIONING", {"tooltip": "Điều kiện positive (nếu có)."}),
879879
"negative": ("CONDITIONING", {"tooltip": "Điều kiện negative (nếu có)."}),
880-
"vae": ("VAE", {"tooltip": "Mô hình VAE (nếu cần)."}),
881-
"mask": ("MASK", {"tooltip": "Mask dùng cho ControlNet inpaint (nếu có)."}),
880+
"vae": ("VAE", {"tooltip": "Mô hình VAE (nếu cần), cần có cho Flux và SD3"}),
881+
"mask": ("MASK", {"tooltip": "Mask dùng cho ControlNet inpaint (Áp dụng cho Controlnet Inpainting AliMama)."}),
882882
}
883883
}
884884

885885
RETURN_TYPES = ("CONDITIONING", "CONDITIONING", "IMAGE", "PARAMETER")
886886
RETURN_NAMES = ("positive", "negative", "image", "parameter")
887+
OUTPUT_TOOLTIPS = ("Điều kiện positive đã áp dụng ControlNet.",
888+
"Điều kiện negative đã áp dụng ControlNet.",
889+
"Ảnh đầu ra sau khi áp dụng ControlNet preprocessor",
890+
"Tham số đầu vào đã sử dụng cho ControlNet, sử dụng với node Auto Generate")
887891
FUNCTION = "apply_controlnet"
888892

889893
CATEGORY = "📂 SDVN"

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "sdvn_comfy_node"
3-
description = "Update Kontext Support, Autogenerate, and more for SDVN Comfy Node"
4-
version = "1.11.0"
3+
description = "Update Kontext Support, Autogenerate, tooltips, and more."
4+
version = "1.11.1"
55
license = {file = "LICENSE"}
66
dependencies = ["#If MacOs - Please install aria2 manually via brew", "aria2;sys_platform != 'darwin'", "openai", "gallery-dl", "google-generativeai", "googletrans-py"]
77

0 commit comments

Comments
 (0)