corrected price in status when input assets contain video

Signed-off-by: bigcat88 <bigcat88@icloud.com>
This commit is contained in:
Alexander Piskun 2026-04-23 00:11:21 +03:00
parent 370a857c07
commit 0efa7cc2de

View File

@ -1753,7 +1753,7 @@ class ByteDance2ReferenceNode(IO.ComfyNode):
) )
model_id = SEEDANCE_MODELS[model["model"]] model_id = SEEDANCE_MODELS[model["model"]]
has_video_input = len(reference_videos) > 0 has_video_input = total_videos > 0
if model.get("auto_downscale") and reference_videos: if model.get("auto_downscale") and reference_videos:
max_px = SEEDANCE2_REF_VIDEO_PIXEL_LIMITS.get(model_id, {}).get(model["resolution"], {}).get("max") max_px = SEEDANCE2_REF_VIDEO_PIXEL_LIMITS.get(model_id, {}).get(model["resolution"], {}).get("max")