Unable to use partition_pdf with a strategy of "hi_res"

Error: TypeError: get_model() got an unexpected keyword argument ‘ocr_languages’