refactor: remove unused lang (for now)

This commit is contained in:
Methapon Metanipat 2024-10-03 08:55:19 +07:00
parent b717c7689c
commit 5c978fd8f3

View file

@ -16,7 +16,7 @@ export async function runOcr<T extends (result: RecognizeResult) => void>(
callback?: T,
) {
if (!worker) {
worker = await createWorker(['ocrb', 'eng', 'khm'], 1, {
worker = await createWorker(['ocrb', 'eng'], 1, {
langPath: '/ocr-data',
});
}