From 0ae0f71b5e7a04cd2d2f7d90ecb799a4e78e22fa Mon Sep 17 00:00:00 2001 From: Caeman Toombs Date: Mon, 11 Feb 2019 13:52:39 -0500 Subject: [PATCH] Update demo.html --- examples/file-input/demo.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/file-input/demo.html b/examples/file-input/demo.html index e6beb3c..105f8e8 100644 --- a/examples/file-input/demo.html +++ b/examples/file-input/demo.html @@ -44,9 +44,9 @@ function recognizeFile(file){ const worker = new TesseractWorker(); - worker.recognize(file, { - lang: document.querySelector('#langsel').value - }) + worker.recognize(file, + document.querySelector('#langsel').value + ) .progress(function(packet){ console.info(packet) progressUpdate(packet)