mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-15 08:40:50 +08:00
Merge 2bf3807408 into 9bc893c5bb
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…
Reference in New Issue
Block a user