unstructured
unstructured copied to clipboard
bug/partition where unstructured-inference does not have keyword argument password in get_model()
Describe the bug When using partition or partition_pdf on a filepath, it returns me an error due to issues with the unstructured-inference package not being up to date
To Reproduce file_path = "path_to_my_pdf.pdf" pdf_elements = partition(file_path , strategy='hi_res', hi_res_model_name='yolox', ocr_mode='none')
Expected behavior PDF elements returned where I can extract tables without doing an OCR on the whole document so it returns a result faster
Screenshots
Additional context I am using unstructured 0.17.2 but the dependency is it only lets met install unstructured-inference 0.7.26. There have been additions to both and they need to be synchronised.