mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -04:00
add speaker labels to transcribe
This commit is contained in:
parent
9540a7ac49
commit
e2227da8f4
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ module.exports = {
|
|||
const recog = await googleSpeechRecognition(context, msg.attachments.first().url)
|
||||
|
||||
return editOrReply(context, createEmbed("default", context, {
|
||||
description: codeblock("ansi", [ recog.response.body.transcription ]),
|
||||
description: codeblock("md", [ recog.response.body.transcription_with_speakers ]),
|
||||
footer: {
|
||||
iconUrl: STATICS.google,
|
||||
text: `Google Cloud • Confidence: ${(recog.response.body.confidence* 100).toFixed(1)}% • ${context.application.name}`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue