From d4abb1291555395b4a456e92ef93815ea24966c7 Mon Sep 17 00:00:00 2001 From: Balearica Date: Mon, 19 Aug 2024 19:20:02 -0700 Subject: [PATCH] Updated import --- js/worker/generalWorker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/worker/generalWorker.js b/js/worker/generalWorker.js index 9568fba..632de58 100644 --- a/js/worker/generalWorker.js +++ b/js/worker/generalWorker.js @@ -17,7 +17,7 @@ import { optimizeFont } from './optimizeFontModule.js'; // import Tesseract from "../../tess/tesseract.esm.min.js"; const browserMode = typeof process === 'undefined'; -const Tesseract = browserMode ? (await import('../../tess/tesseract.esm.min.js')).default : await import('tesseract.js/src/index.js'); +const Tesseract = browserMode ? (await import('../../tess/tesseract.esm.min.js')).default : await import('@scribe.js/tesseract.js'); const defaultConfigs = { // TODO: Add back support for multiple PSM modes.