diff --git a/lib/tasks/gather.js b/lib/tasks/gather.js index c6f4e538..e05c66f6 100644 --- a/lib/tasks/gather.js +++ b/lib/tasks/gather.js @@ -178,6 +178,10 @@ class TaskGather extends SttTask { if (!this.data.recognizer.vendor) { this.data.recognizer.vendor = this.vendor; } + if (this.vendor === 'cobalt' && !this.data.recognizer.model) { + // By default, application saves cobalt model in language + this.data.recognizer.model = cs.speechRecognizerLanguage; + } if (this.needsStt && !this.sttCredentials) { try { diff --git a/lib/tasks/transcribe.js b/lib/tasks/transcribe.js index 1d1ec1d0..4e87810d 100644 --- a/lib/tasks/transcribe.js +++ b/lib/tasks/transcribe.js @@ -91,6 +91,10 @@ class TaskTranscribe extends SttTask { if (!this.data.recognizer.vendor) { this.data.recognizer.vendor = this.vendor; } + if (this.vendor === 'cobalt' && !this.data.recognizer.model) { + // By default, application saves cobalt model in language + this.data.recognizer.model = cs.speechRecognizerLanguage; + } if (!this.sttCredentials) { try {