Skip to content

Commit 9143f1e

Browse files
authored
Fixed oem 2 per #938 (#943)
1 parent d497668 commit 9143f1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/createWorker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ module.exports = async (langs = 'eng', oem = OEM.LSTM_ONLY, _options = {}, confi
129129
cachePath: options.cachePath,
130130
cacheMethod: options.cacheMethod,
131131
gzip: options.gzip,
132-
lstmOnly: [OEM.LSTM_ONLY, OEM.TESSERACT_LSTM_COMBINED].includes(currentOem)
132+
lstmOnly: [OEM.DEFAULT, OEM.LSTM_ONLY].includes(currentOem)
133133
&& !options.legacyLang,
134134
},
135135
},

0 commit comments

Comments
 (0)