why dont it work 😭

This commit is contained in:
ThatOneCalculator 2022-08-08 17:27:19 -07:00
parent 62c5225754
commit 30e20cb683
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{
"name": "misskey",
"version": "12.118.1-calc.rc.4.5",
"version": "12.118.1-calc.rc.4.6",
"codename": "aqua",
"repository": {
"type": "git",

View file

@ -152,10 +152,10 @@ export default defineComponent({
await worker.initialize('eng');
const { data: { text } } = await worker.recognize(imgurl);
console.log(text);
document.getElementById('recognized-text').innerText = text;
// document.getElementById('recognized-text').innerText = text;
// const allowedLength = 512 - this.inputValue.length;
// this.inputValue += text.slice(0, allowedLength);
// await worker.terminate();
await worker.terminate();
},
},
});