From 9f4ad043f3cbe2dce6e9ff4e4c3ecd2e700afa47 Mon Sep 17 00:00:00 2001 From: Sujeevan Rasaratnam Date: Wed, 22 May 2024 01:01:33 +0000 Subject: [PATCH] update pytesseract to 0.3.10 --- transformers/image/image_ocr_transformer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transformers/image/image_ocr_transformer.py b/transformers/image/image_ocr_transformer.py index eb52ffef..a55aa763 100644 --- a/transformers/image/image_ocr_transformer.py +++ b/transformers/image/image_ocr_transformer.py @@ -7,7 +7,7 @@ class ImageOCRTextTransformer(CustomTransformer): _unsupervised = True - _modules_needed_by_name = ['pillow==10.3.0', "pytesseract==0.3.0"] + _modules_needed_by_name = ['pillow==10.3.0', "pytesseract==0.3.10"] _parallel_task = True # if enabled, params_base['n_jobs'] will be >= 1 (adaptive to system), otherwise 1 _can_use_gpu = True # if enabled, will use special job scheduler for GPUs _can_use_multi_gpu = True # if enabled, can get access to multiple GPUs for single transformer (experimental)