pdufour commited on
Commit
58171c6
·
verified ·
1 Parent(s): 2b8eb7a

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -2
index.js CHANGED
@@ -65,8 +65,7 @@ async function parse(img, txt) {
65
  imageContainer.style.backgroundImage = `url(${img})`;
66
  status.textContent = 'Analysing...';
67
  const output = await imageTextToText(img, txt);
68
- status.textContent = '';
69
- imageContainer.textContent = output;
70
  }
71
 
72
  async function imageTextToText(imagePath, query, vision = true) {
 
65
  imageContainer.style.backgroundImage = `url(${img})`;
66
  status.textContent = 'Analysing...';
67
  const output = await imageTextToText(img, txt);
68
+ status.textContent = output;
 
69
  }
70
 
71
  async function imageTextToText(imagePath, query, vision = true) {