Skip to content

Commit c060eb1

Browse files
committed
fix(voice-msg): update credits to NVIDIA Parakeet
1 parent eb5edba commit c060eb1

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

lang/voice_msg/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"attachment-too-long": "Due to technical limitations, I cannot handle attachments longer than %{duration}",
33
"api-error": "An error occurred while trying to contact the transcription service. Please try again later.",
44
"no-transcript": "I couldn't detect a single word in this voice message :confused:",
5-
"openai-credits": "Powered by local [OpenAI's Whisper model](%{url})",
5+
"parakeet-credits": "Powered by local [NVIDIA Parakeet model](%{url})",
66
"title": "Transcript generation"
77
}

lang/voice_msg/fr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"attachment-too-long": "En raison de limitations techniques, je ne peux pas traiter les messages vocaux de plus de %{duration}",
33
"api-error": "Une erreur est survenue pendant la transcription du message. Veuillez réessayer plus tard.",
44
"no-transcript": "Je n'ai pas pu détecter un seul mot dans ce message vocal :confused:",
5-
"openai-credits": "Réalisé localement par le [modèle Whisper d'OpenAI](%{url})",
5+
"parakeet-credits": "Réalisé localement par le [modèle NVIDIA Parakeet](%{url})",
66
"title": "Génération de transcription"
77
}

lang/voice_msg/lolcat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"attachment-too-long": "Whoopsie doopsie, look like dis file is too long 4 me! Max duration I can listen to iz %{duration}",
33
"no-transcript": "Oh no, look like dis msg is empty... like emptyness' level empty",
4-
"openai-credits": "Courtesy of the Amazin' [OpenAI's Whisper Model](%{url})",
4+
"parakeet-credits": "Courtesy of the Amazin' [NVIDIA Parakeet Model](%{url})",
55
"title": "Epic New-Gen Voice Message Converter"
66
}

modules/voice_msg/voice_msg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ async def handle_message_command(self, interaction: discord.Interaction, message
9393
# if transcript is too long, truncate it
9494
if len(result) > 1900:
9595
result = result[:1900] + "…"
96-
result += "\n\n*" + await self.bot._(interaction.user, "voice_msg.openai-credits",
97-
url="https://github.com/openai/whisper") + '*'
96+
result += "\n\n*" + await self.bot._(interaction.user, "voice_msg.parakeet-credits",
97+
url="https://huggingface.co/nvidia/parakeet-tdt-0.6b-v3") + '*'
9898
emb = discord.Embed(
9999
title=await self.bot._(interaction.user, "voice_msg.title"),
100100
description=result,

status_list.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"Playing with Wumpus",
99
"Playing Axolotl Adventures",
1010
"Chillin' in an axolotl bucket",
11-
"Toying with OpenAI voice-to-text",
11+
"Toying with NVIDIA voice-to-text",
1212
"Axolotls are clearly the superior species",
1313
"Ducks are cool too"
1414
],

0 commit comments

Comments
 (0)