code: def cache_model_flags():
      """Commandline arguments for running local model caching script."""
      parser = argparse.ArgumentParser()
  
      parser.add_argument(
          "--model_dir",
          type=str,
          default=None,
          required=True,
          help="Directory to write the cached model files.",
      )
      parser.add_argument(
          "--model_name",
          type=str,
          default="CompVis/stable-diffusion-v1-4",
          help="Name of the huggingface model.",
      )
      parser.add_argument(
          "--revision",
          type=str,
          default="3857c45b7d4e78b3ba0f39d4d7f50a2a05aa23d4",
          help="Revision of the huggingface model repo to cache.",
      )
  
      return parser
  
label_desc: Use image node_id 2 for calling a global function with example usage: cache_model_flags() and returns: parser