Skip to content

Commit

Permalink
jpeg added to tesseract loader supported types
Browse files Browse the repository at this point in the history
  • Loading branch information
enoch3712 committed Dec 24, 2024
1 parent f6b098d commit 287542a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class DocumentLoaderTesseract(CachedDocumentLoader):
"""Document loader for OCR using Tesseract."""

SUPPORTED_FORMATS = ["jpeg", "png", "bmp", "tiff", "pdf"]
SUPPORTED_FORMATS = ["jpeg", "png", "bmp", "tiff", "pdf", "jpg"]

def __init__(self, tesseract_cmd, isContainer=False, content=None, cache_ttl=300):
super().__init__(content, cache_ttl)
Expand Down

0 comments on commit 287542a

Please sign in to comment.