Skip to content

Commit

Permalink
verbio list voice api is changed, fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
xquanluu committed Jan 15, 2025
1 parent fab8a39 commit 75f982b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions lib/utils/speech-data/tts-verbio.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
module.exports = [
{
value: 'en-US',
name: 'US English',
voices: [
{
value: 'tommy_en_us',
name: 'Tommy-Male',
},
],
},
{
value: 'es-ES',
name: 'Castilian Spanish',
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/speech-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ function parseMicrosoftLanguagesVoices(data) {
}

function parseVerbioLanguagesVoices(data) {
return data.reduce((acc, voice) => {
return data.voices.reduce((acc, voice) => {
const languageCode = voice.language;
const existingLanguage = acc.find((lang) => lang.value === languageCode);
if (existingLanguage) {
Expand Down

0 comments on commit 75f982b

Please sign in to comment.