quoc-khanh commited on
Commit
c09b200
·
verified ·
1 Parent(s): 2fbef0e

Update helpers.py

Browse files
Files changed (1) hide show
  1. helpers.py +2 -2
helpers.py CHANGED
@@ -133,8 +133,8 @@ def remove_tables_from_docx(file_path):
133
 
134
  def load_text_data(file_path):
135
  """Tải nội dung văn bản từ file DOCX (đã loại bảng)."""
136
- cleaned_file = Document(file_path) #remove_tables_from_docx(file_path)
137
- return DoclingLoader(cleaned_file).load()
138
 
139
 
140
  def extract_tables_from_docx(file_path):
 
133
 
134
  def load_text_data(file_path):
135
  """Tải nội dung văn bản từ file DOCX (đã loại bảng)."""
136
+ # cleaned_file = Document(file_path) #remove_tables_from_docx(file_path)
137
+ return DoclingLoader(file_path).load()
138
 
139
 
140
  def extract_tables_from_docx(file_path):