diff --git a/hft.py b/hft.py index 391ff4a..de2eb78 100644 --- a/hft.py +++ b/hft.py @@ -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)