File size: 349 Bytes
1595f22
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
# %%writefile utils/resume_loader.py
import os

def load_resume_files(resume_dir="data/resumes"):
    return [
        os.path.join(resume_dir, f)
        for f in os.listdir(resume_dir)
        if os.path.isfile(os.path.join(resume_dir, f))
        and f.lower().endswith((".pdf", ".docx", ".txt"))
        and not f.startswith(".")
    ]