Skip to content

Commit

Permalink
Fix config name
Browse files Browse the repository at this point in the history
  • Loading branch information
plutasnyy committed Jan 6, 2025
1 parent 052ae50 commit 4b54d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unstructured/partition/utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def TESSERACT_OPTIMUM_TEXT_HEIGHT(self) -> int:
@property
def TESSERACT_CHARACTER_CONFIDENCE_THRESHOLD(self) -> int:
"""Tesseract predictions with confidence below this threshold are ignored"""
return self._get_float("TESSERACT_CONFIDENCE_THRESHOLD", 0.0)
return self._get_float("TESSERACT_CHARACTER_CONFIDENCE_THRESHOLD", 0.0)

@property
def GOOGLEVISION_API_ENDPOINT(self) -> str:
Expand Down

0 comments on commit 4b54d8a

Please sign in to comment.