add:easy fullLoader added outputs items

This commit is contained in:
yolain
2024-02-26 21:44:26 +08:00
parent ebc5d15431
commit 649fc10e47
5 changed files with 9 additions and 6 deletions
+4 -1
View File
@@ -142,7 +142,10 @@
},
"outputs": {
"pipe": "节点束",
"model": "模型"
"model": "模型",
"positive": "正向条件",
"negative": "反向条件",
"latent": "潜空间"
}
},
"easy a1111Loader": {
+1 -1
View File
@@ -39,9 +39,9 @@ Usage:<br>
## Changelog
**2024-02-26**
- `easy fullLoader` **positive**、**negative**、**latent** added to the output items
- Fixed the error of SDXLClipModel in ComfyUI revision 2016[c2cb8e88] and above (the revision number was judged to be compatible with the old revision)
- Fixed `easy detailerFix` generation error when batch size is greater than 1
+1
View File
@@ -49,6 +49,7 @@ stage_c 与 stage_b 可以使用[checkpoints](https://huggingface.co/stabilityai
**2024-02-26**
- `easy fullLoader` 增加 **positive**、**negative**、**latent** 输出项
- 修复 SDXLClipModel 在 ComfyUI 修订版本号 2016[c2cb8e88] 及以上的报错(判断了版本号可兼容老版本)
- 修复 `easy detailerFix` 批次大小大于1时生成出错
-1
View File
@@ -252,7 +252,6 @@ def encode_token_weights(model, token_weight_pairs, encode_func):
model_management.load_model_gpu(model.patcher)
return encode_func(model.cond_stage_model, token_weight_pairs)
def prepareXL(embs_l, embs_g, pooled, clip_balance):
l_w = 1 - max(0, clip_balance - .5) * 2
g_w = 1 - max(0, .5 - clip_balance) * 2
+3 -3
View File
@@ -660,8 +660,8 @@ class fullLoader:
"hidden": {"prompt": "PROMPT", "my_unique_id": "UNIQUE_ID"}
}
RETURN_TYPES = ("PIPE_LINE", "MODEL", "VAE", "CLIP")
RETURN_NAMES = ("pipe", "model", "vae", "clip")
RETURN_TYPES = ("PIPE_LINE", "MODEL", "VAE", "CLIP", "CONDITIONING", "CONDITIONING", "LATENT")
RETURN_NAMES = ("pipe", "model", "vae", "clip", "positive", "negative", "latent")
FUNCTION = "adv_pipeloader"
CATEGORY = "EasyUse/Loaders"
@@ -819,7 +819,7 @@ class fullLoader:
"empty_samples": samples, }
}
return {"ui": {"positive": positive_wildcard_prompt, "negative": negative_wildcard_prompt}, "result": (pipe, model, vae, clip)}
return {"ui": {"positive": positive_wildcard_prompt, "negative": negative_wildcard_prompt}, "result": (pipe, model, vae, clip, positive, negative, samples)}
# A1111简易加载器
class a1111Loader: