Fixed makeImageForIcLora issue that occurred when the heights of two images were the same during image stitching on.

This commit is contained in:
yolain
2025-07-05 13:48:08 +08:00
parent b0cd0bcb5b
commit 54614079ca
2 changed files with 32 additions and 1 deletions
+31
View File
@@ -6638,6 +6638,37 @@
}
}
},
"easy joyCaption3API": {
"display_name": "JoyCaption3(硅基流动)",
"inputs": {
"image": {
"name": "图像"
},
"do_sample": {
"name": "执行采样"
},
"temperature": {
"name": "温度"
},
"max_tokens": {
"name": "最大词令牌数"
},
"caption_type": {
"name": "提示词类型"
},
"caption_length": {
"name": "提示词长度"
},
"name_input": {
"name": "名称输入"
}
},
"outputs": {
"0": {
"name": "提示词"
}
}
},
"easy if": {
"display_name": "If判断",
"inputs": {
+1 -1
View File
@@ -2022,7 +2022,7 @@ class makeImageForICRepaint:
image, mask, context_mask = None, None, None
# resize
if img1_h != img2_h or img1_w != img2_w:
if img1_h != img2_h and img1_w != img2_w:
width, height = img2_w, img2_h
fit = 'crop'
if method != 'uniform width':