Skip to content

Commit

Permalink
locale update to es-CL
Browse files Browse the repository at this point in the history
  • Loading branch information
srkasuMsft committed Feb 8, 2024
1 parent 2253ff4 commit f57687c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/backend/services/speech.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -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 = {
Expand Down Expand Up @@ -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 = {
Expand All @@ -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 = {
Expand Down

0 comments on commit f57687c

Please sign in to comment.