[Bugfix] Qwen-Image-Layered: allow layers=2 to match upstream demo (#4777)

Signed-off-by: Kotaro Kikuchi <ktrk115@gmail.com>
This commit is contained in:
Kotaro Kikuchi authored and GitHub committed 2026-07-04 03:06:24 +00:00
1 parent 20d43ce24d
commit 46f10478dc
4 files changed
+9 -9

No files matched your search

@@ -14,7 +14,7 @@ import io
import PIL.Image
SUPPORTED_LAYERED_RESOLUTIONS = (640, 1024)
SUPPORTED_LAYERED_LAYERS_RANGE = range(3, 11)
SUPPORTED_LAYERED_LAYERS_RANGE = range(2, 11)
def parse_size(size_str: str) -> tuple[int, int]: