mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-07-13 07:06:58 +08:00
Merge 2bf38074084125b39bfbba61af630b10650ce5c6 into 9bc893c5bbd2838bdd15ebd40e3a3e548ce3e4f0
This commit is contained in:
commit
01ec967e23
@ -85,7 +85,7 @@ class TextEncodeQwenImageEditPlus(io.ComfyNode):
|
||||
height = round(samples.shape[2] * scale_by)
|
||||
|
||||
s = comfy.utils.common_upscale(samples, width, height, "area", "disabled")
|
||||
images_vl.append(s.movedim(1, -1))
|
||||
images_vl.append(s.movedim(1, -1)[:, :, :, :3])
|
||||
if vae is not None:
|
||||
total = int(1024 * 1024)
|
||||
scale_by = math.sqrt(total / (samples.shape[3] * samples.shape[2]))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user