[diffusion] fix: fix default resolution 720p width from 1080 to 1280 (#15058)

This commit is contained in:
Xiaoyu Zhang
2025-12-15 09:16:47 +08:00
committed by GitHub
parent c96903074c
commit 4513f549ee

View File

@@ -221,7 +221,7 @@ class InputValidationStage(PipelineStage):
# if height or width is not specified at this point, set default to 720p
default_height = 720
default_width = 1080
default_width = 1280
if batch.height is None and batch.width is None:
batch.height = default_height
batch.width = default_width