mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-05 19:12:41 +08:00
Compare commits
6 Commits
2a12d56e96
...
5002bff1ee
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5002bff1ee | ||
|
|
2bf3807408 | ||
|
|
ffad732482 | ||
|
|
2debbcf50e | ||
|
|
cc1c5da4f6 | ||
|
|
c8bfec86b3 |
@ -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