mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -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, {
|
return editOrReply(context, {
|
||||||
embeds: [createEmbed("default", 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: {
|
footer: {
|
||||||
iconUrl: STATICS.google,
|
iconUrl: STATICS.google,
|
||||||
text: `Google Cloud • Confidence: ${(recog.response.body.confidence* 100).toFixed(1)}% • ${context.application.name}`
|
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)
|
const recog = await transcribeWithSpeakerLabelsObelisk(context, msg.attachments.first().url)
|
||||||
|
|
||||||
return editOrReply(context, createEmbed("default", context, {
|
return editOrReply(context, createEmbed("default", context, {
|
||||||
description: codeblock("md", [ recog.response.body.transcription_with_speakers ]),
|
description: codeblock("md", [ recog.response.body.transcription ]),
|
||||||
footer: {
|
footer: {
|
||||||
iconUrl: STATICS.google,
|
iconUrl: STATICS.google,
|
||||||
text: `Google Cloud • Confidence: ${(recog.response.body.confidence* 100).toFixed(1)}% • ${context.application.name}`
|
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