code: def load_requirements(path_dir=PATH_ROOT, comment_char="#"):
      with open(
          os.path.join(path_dir, "requirements.txt"), "r"
      ) as file:
          lines = [ln.strip() for ln in file.readlines()]
      reqs = []
      for ln in lines:
          # filer all comments
          if comment_char in ln:
              ln = ln[: ln.index(comment_char)]
          if ln:  # if requirement is not empty
              reqs.append(ln)
      return reqs
  
label_desc: Use image node_id 1 for calling a global function with example usage: load_requirements(path_dir, comment_char) and returns: reqs