Use Qwen3-ASR as production speech recognizer
This commit is contained in:
+2
-2
@@ -138,7 +138,7 @@ function wavFromPcm16(pcm, sampleRate = 24000) {
|
||||
return Buffer.concat([header, pcm]);
|
||||
}
|
||||
// The browser transcription relay sends 8 kHz G.711 mu-law, while Athena's
|
||||
// existing Whisper endpoint accepts PCM WAV uploads.
|
||||
// transcription endpoint accepts PCM WAV uploads.
|
||||
function wavFromMulaw8k(audio) {
|
||||
const pcm = Buffer.allocUnsafe(audio.length * 2);
|
||||
for (let i = 0; i < audio.length; i += 1) {
|
||||
@@ -567,7 +567,7 @@ export default definePluginEntry({
|
||||
register(api) {
|
||||
api.registerRealtimeTranscriptionProvider({
|
||||
id: "athena-talk",
|
||||
label: "Athena Whisper (Diktieren)",
|
||||
label: "Athena Qwen3-ASR (Diktieren)",
|
||||
defaultModel: "whisper-1",
|
||||
models: ["whisper-1"],
|
||||
autoSelectOrder: 1,
|
||||
|
||||
Reference in New Issue
Block a user