@ -9,6 +9,10 @@ import pytesseract
import docx2txt
import PyPDF2
from huggingface_hub import login
login(f"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")
def load_file_catalog(catalog_path):
with open(catalog_path, 'r', encoding='utf-8') as file:
return json.load(file)