Fix: Use correct attribute name for video-to-video detection

parent 307154b3
......@@ -7948,7 +7948,7 @@ def main(args):
model_id = m_info["id"]
is_i2v_mode = args.image_to_video or args.image
is_i2i_mode = args.image_to_image
is_v2v_mode = args.input_video is not None
is_v2v_mode = getattr(args, 'video_to_video', False) or getattr(args, 'input_video', None) is not None
if is_i2v_mode:
task_type = "i2v"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment