code: def highlight_vals(val, max=3.0, color1="red", color2="green"):
      if isinstance(val, float):
          if val > max:
              return "background-color: %s" % color2
          elif val <= -max:
              return "background-color: %s" % color1
      else:
          return ""
  
file_path: BigDL/python/llm/test/benchmark/csv_to_html.py
imports: import os
  import sys
  import argparse
  import pandas
label_desc: Use image node_id 1 for calling a global function with example usage: highlight_vals(val, max, color1, color2) and returns: str, unknown, unknown