code: def load_txt(txt_path):
      pred_html_dict = {}
      if not os.path.exists(txt_path):
          return pred_html_dict
      with open(txt_path, encoding="utf-8") as f:
          lines = f.readlines()
          for line in lines:
              line = line.strip().split("\t")
              img_name, pred_html = line
              pred_html_dict[img_name] = pred_html
      return pred_html_dict
  
file_path: PaddleOCR/ppstructure/table/eval_table.py
imports: import os
  import sys
  import cv2
  import pickle
  import paddle
  from tqdm import tqdm
  from ppstructure.table.table_metric import TEDS
  from ppstructure.table.predict_table import TableSystem
  from ppstructure.utility import init_args
  from ppocr.utils.logging import get_logger
label_desc: Use image node_id 2 for calling a global function with example usage: load_txt(txt_path) and returns: pred_html_dict, pred_html_dict