mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -04:00
limit ocr output
This commit is contained in:
parent
79f795570f
commit
3676dfaf70
2 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ module.exports = {
|
|||
thumbnail: {
|
||||
url: image
|
||||
},
|
||||
description: codeblock("ansi", [ocr.response.body.text]),
|
||||
description: codeblock("ansi", [ocr.response.body.text.substr(0,4000)]),
|
||||
footer: {
|
||||
iconUrl: STATICS.google,
|
||||
text: `Google Cloud Vision • ${context.application.name} • Took ${ocr.timings}s`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue