mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-07-01 06:59:54 +02:00
OCR-D: restrict max_workers=1
This commit is contained in:
parent
efd3fa6775
commit
6d02e90570
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,9 @@ from ocrd import Processor, OcrdPageResult
|
|||
from .eynollah import Eynollah
|
||||
|
||||
class EynollahProcessor(Processor):
|
||||
# already employs background CPU multiprocessing per page
|
||||
# already employs GPU (without singleton process atm)
|
||||
max_workers = 1
|
||||
|
||||
def setup(self) -> None:
|
||||
# for caching models
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue