code: def save_pred_txt(key, val, tmp_file_path):
      with open(tmp_file_path, "a+", encoding="utf-8") as f:
          f.write("{}\t{}\n".format(key, val))
  
file_path: PaddleOCR/ppstructure/table/convert_label2html.py
imports: import json
  import argparse
  from tqdm import tqdm
label_desc: Use image node_id 1 for calling a global function with example usage: save_pred_txt(key, val, tmp_file_path) without return types