From 838155fdd45e34a5fe8ba7b40ca14b3b29414bce Mon Sep 17 00:00:00 2001 From: Yao You Date: Tue, 3 Oct 2023 22:02:56 -0500 Subject: [PATCH] Update pdf.py Co-authored-by: qued <64741807+qued@users.noreply.github.com> --- unstructured/partition/pdf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unstructured/partition/pdf.py b/unstructured/partition/pdf.py index 5dd7ee33f4..ddd6e7b845 100644 --- a/unstructured/partition/pdf.py +++ b/unstructured/partition/pdf.py @@ -73,7 +73,7 @@ def default_hi_res_model() -> str: # a light config for the hi res model; this is not defined as a constant so that no setting of # the default hi res model name is done on importing of this submodule; this allows (if user - # perfers) for setting env after importing the sub module and change the default model name + # prefers) for setting env after importing the sub module and changing the default model name return os.environ.get("UNSTRUCTURED_HI_RES_MODEL_NAME", "yolox_quantized")