diff --git a/src/backend/services/speech.ts b/src/backend/services/speech.ts index 82ac1362..be1dfb43 100644 --- a/src/backend/services/speech.ts +++ b/src/backend/services/speech.ts @@ -77,8 +77,8 @@ export class Speech { "punctuationMode": "DictatedAndAutomatic", "profanityFilterMode": "Masked" }, - "locale": "en-US", - "displayName": "Transcription of file using default model for en-US" + "locale": "es-CL", + "displayName": "Transcription of file using default model for es-CL" } if (input?.serviceSpecificConfig?.to) { payload = { @@ -92,7 +92,7 @@ export class Speech { "profanityFilterMode": "Masked" }, "locale": input.serviceSpecificConfig.to, - "displayName": "Transcription of file using default model for en-US" + "displayName": "Transcription of file using default model for es-CL" } } const axiosParams: AxiosRequestConfig = { @@ -145,11 +145,11 @@ export class Speech { "properties": { "wordLevelTimestampsEnabled": false }, - "locale": "en-US", + "locale": "es-CL", "model": { "self": process.env.WHISPER_MODEL//"https://eastus.api.cognitive.microsoft.com/speechtotext/v3.2-preview.1/models/base/71cbd7af-3212-43ab-8695-666fb28ffef7" }, - "displayName": "Transcription of file using default model for en-US" + "displayName": "Transcription of file using default model for es-CL" } if (input?.serviceSpecificConfig?.to) { payload = { @@ -163,7 +163,7 @@ export class Speech { "self": process.env.WHISPER_MODEL }, "locale": input.serviceSpecificConfig.to, - "displayName": "Transcription of file using default model for en-US" + "displayName": "Transcription of file using default model for es-CL" } } const axiosParams: AxiosRequestConfig = {