code: def load_config(file_path):
      """
      Load config from yml/yaml file.
      Args:
          file_path (str): Path of the config file to be loaded.
      Returns: config
      """
      ext = os.path.splitext(file_path)[1]
      assert ext in [".yml", ".yaml"], "only support yaml files for now"
      with open(file_path, "rb") as f:
          config = yaml.load(f, Loader=yaml.Loader)
  
      return config
  
file_path: PaddleOCR/StyleText/utils/config.py
imports: import yaml
  import os
  from argparse import ArgumentParser, RawDescriptionHelpFormatter
label_desc: Use image node_id 3 for calling a global function with example usage: load_config(file_path) and returns: config