code: def model_names(filename: str) -> Set[str]:
      names = set()
      with open(filename) as fh:
          lines = fh.readlines()
          lines = [line.rstrip() for line in lines]
          for line in lines:
              line_parts = line.split(" ")
              if len(line_parts) == 1:
                  line_parts = line.split(",")
              model_name = line_parts[0]
              names.add(model_name)
      return names
  
imports: import argparse
  import os
  import sys
  from typing import Set
label_desc: Use image node_id 1 for calling a global function with example usage: model_names(filename) and returns: names