quoc-khanh commited on
Commit
074f776
·
verified ·
1 Parent(s): b65ce5d

Update helpers.py

Browse files
Files changed (1) hide show
  1. helpers.py +1 -1
helpers.py CHANGED
@@ -300,7 +300,7 @@ def get_json_splits_only(file_path):
300
  def list_docx_files(folder_path):
301
  """List all DOCX and DOC files in the given folder (including subfolders)."""
302
  return [str(file) for file in Path(folder_path).rglob("*.docx")] + \
303
- [str(file) for file in Path(folder_path).rglob("*.doc")]
304
 
305
  def prompt_order(queries):
306
  text = 'Câu hỏi: '
 
300
  def list_docx_files(folder_path):
301
  """List all DOCX and DOC files in the given folder (including subfolders)."""
302
  return [str(file) for file in Path(folder_path).rglob("*.docx")] + \
303
+ [str(file) for file in Path(folder_path).rglob("*.pdf")]
304
 
305
  def prompt_order(queries):
306
  text = 'Câu hỏi: '