remove speaker labels

This commit is contained in:
bignutty 2024-05-03 20:03:23 +02:00
parent b8db606fe8
commit ce3d682aae
2 changed files with 2 additions and 2 deletions

View file

@ -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}`

View file

@ -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}`