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", "name": "misskey",
"version": "12.118.1-calc.rc.4.5", "version": "12.118.1-calc.rc.4.6",
"codename": "aqua", "codename": "aqua",
"repository": { "repository": {
"type": "git", "type": "git",

View File

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