Skip to content

Commit 31a1241

Browse files
committed
eynollah layout: fix trocr_processor model_zoo call
1 parent b3c5620 commit 31a1241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/eynollah/eynollah.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def setup_models(self):
262262
if self.ocr:
263263
if self.tr:
264264
loadable.append(('ocr', 'tr'))
265-
loadable.append(('trocr_processor', 'tr'))
265+
loadable.append(('trocr_processor', ''))
266266
else:
267267
loadable.append('ocr')
268268
loadable.append('num_to_char')

0 commit comments

Comments
 (0)