mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-02 17:50:19 +08:00
Merge 2bf3807408 into 4e6a1b66a9
This commit is contained in:
commit
2a12d56e96
@ -87,7 +87,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…
Reference in New Issue
Block a user