[diffusion] fix: fix default resolution 720p width from 1080 to 1280 (#15058)
This commit is contained in:
@@ -221,7 +221,7 @@ class InputValidationStage(PipelineStage):
|
|||||||
|
|
||||||
# if height or width is not specified at this point, set default to 720p
|
# if height or width is not specified at this point, set default to 720p
|
||||||
default_height = 720
|
default_height = 720
|
||||||
default_width = 1080
|
default_width = 1280
|
||||||
if batch.height is None and batch.width is None:
|
if batch.height is None and batch.width is None:
|
||||||
batch.height = default_height
|
batch.height = default_height
|
||||||
batch.width = default_width
|
batch.width = default_width
|
||||||
|
|||||||
Reference in New Issue
Block a user