code: def get_args():
      parser = argparse.ArgumentParser()
      parser.add_argument("--ckpt_path", type=str, required=True)
      parser.add_argument("--output_path", type=str, required=True)
      parser.add_argument("--use_motion_mid_block", action="store_true")
      parser.add_argument(
          "--motion_max_seq_length", type=int, default=32
      )
  
      return parser.parse_args()
  
imports: import argparse
  import torch
  from diffusers import MotionAdapter
label_desc: Use image node_id 2 for calling a global function with example usage: get_args() and returns: parser