quoc-khanh commited on
Commit
f94f8e4
·
verified ·
1 Parent(s): 1dc5f74

Update helpers.py

Browse files
Files changed (1) hide show
  1. helpers.py +1 -1
helpers.py CHANGED
@@ -135,7 +135,7 @@ def load_json_manually(json_path):
135
  data = json.load(f)
136
  return data
137
 
138
- def load_table_data(filepath, output_json_path):
139
  tables = extract_tables_from_docx(file_path)
140
  json_output = convert_to_json(tables)
141
  save_json_to_file(json_output, output_json_path)
 
135
  data = json.load(f)
136
  return data
137
 
138
+ def load_table_data(file_path, output_json_path):
139
  tables = extract_tables_from_docx(file_path)
140
  json_output = convert_to_json(tables)
141
  save_json_to_file(json_output, output_json_path)