pdufour commited on
Commit
2d020cc
·
verified ·
1 Parent(s): b75228d

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -50,7 +50,7 @@ async function parse(img, txt) {
50
  imageContainer.style.backgroundImage = `url(${img})`;
51
 
52
  status.textContent = 'Analysing...';
53
- const output = await imageTextToText(img, query);
54
  status.textContent = '';
55
  output.forEach(renderBox);
56
  }
 
50
  imageContainer.style.backgroundImage = `url(${img})`;
51
 
52
  status.textContent = 'Analysing...';
53
+ const output = await imageTextToText(img, txt);
54
  status.textContent = '';
55
  output.forEach(renderBox);
56
  }