Browse Source

Update demo.html

pull/265/head
Caeman Toombs 6 years ago committed by GitHub
parent
commit
0ae0f71b5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      examples/file-input/demo.html

6
examples/file-input/demo.html

@ -44,9 +44,9 @@ function recognizeFile(file){ @@ -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)

Loading…
Cancel
Save