Update index.js
Browse files
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,
|
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 |
}
|