code: def cli_main():
      import argparse
  
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "--input_file",
          type=str,
          required=True,
          help="Input filepath",
      )
      parser.add_argument(
          "--output_file",
          type=str,
          required=True,
          help="Path where generated metadata is saved",
      )
  
      parser.add_argument(
          "--twist_model_name",
          type=str,
          default="TWIST-350M",
          choices=["TWIST-350M", "TWIST-1.3B", "TWIST-7B"],
          help="Name of TWIST model",
      )
  
      parser.add_argument(
          "--prompt_duration_sec",
          type=float,
          default=3.0,
          help="Cutting prompts to a maximum duration",
      )
  
      args = parser.parse_args()
  
      main(args)
  
file_path: textlesslib/examples/twist/twist_generation.py
imports: import torchaudio
  import torch
  from speech_lm import generate_with_offset, build_speech_lm
  from textless.vocoders.hifigan.vocoder import CodeHiFiGANVocoder
  from textless.data.speech_encoder import SpeechEncoder
label_desc: Use image node_id 3 for calling a global function with example usage: cli_main() without return types