code: def load_requirements(
      filename: str, comment_char: str = "#"
  ) -> List[str]:
      """Load requirements from text file in the requirements directory."""
      with (_PATH_ROOT / "requirements" / filename).open() as file:
          lines = [ln.strip() for ln in file.readlines()]
      reqs = []
      for ln in lines:
          # filter all comments
          if comment_char in ln:
              ln = ln[: ln.index(comment_char)].strip()
          # skip directly installed dependencies
          if ln.startswith("http"):
              continue
          if ln:  # if requirement is not empty
              reqs.append(ln)
      return reqs
  
imports: import os
  from pathlib import Path
  from typing import List
  import setuptools
label_desc: Use image node_id 1 for calling a global function with example usage: load_requirements(filename, comment_char) and returns: reqs