mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-07 21:53:07 -04:00
remove speaker labels
This commit is contained in:
parent
b8db606fe8
commit
ce3d682aae
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ module.exports = {
|
|||
|
||||
return editOrReply(context, {
|
||||
embeds: [createEmbed("default", context, {
|
||||
description: codeblock("md", [ recog.response.body.transcription_with_speakers.substr(0,3900) ]),
|
||||
description: codeblock("md", [ recog.response.body.transcription.substr(0,3900) ]),
|
||||
footer: {
|
||||
iconUrl: STATICS.google,
|
||||
text: `Google Cloud • Confidence: ${(recog.response.body.confidence* 100).toFixed(1)}% • ${context.application.name}`
|
||||
|
|
|
@ -35,7 +35,7 @@ module.exports = {
|
|||
const recog = await transcribeWithSpeakerLabelsObelisk(context, msg.attachments.first().url)
|
||||
|
||||
return editOrReply(context, createEmbed("default", context, {
|
||||
description: codeblock("md", [ recog.response.body.transcription_with_speakers ]),
|
||||
description: codeblock("md", [ recog.response.body.transcription ]),
|
||||
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