Skip to content

Commit fa21962

Browse files
added elevenlabs in language validation (#223)
1 parent 8b03309 commit fa21962

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

wavefront/server/modules/voice_agents_module/voice_agents_module/utils/language_validation.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,16 @@
6262
'fi',
6363
'fil',
6464
'fr',
65+
'gu',
6566
'hi',
6667
'hr',
6768
'hu',
6869
'id',
6970
'it',
7071
'ja',
72+
'kn',
7173
'ko',
74+
'ml',
7275
'ms',
7376
'nl',
7477
'no',
@@ -79,6 +82,7 @@
7982
'sk',
8083
'sv',
8184
'ta',
85+
'te',
8286
'tr',
8387
'uk',
8488
'vi',
@@ -236,6 +240,8 @@ def get_stt_supported_languages(provider: str) -> Set[str]:
236240
return DEEPGRAM_STT_LANGUAGES
237241
elif provider == 'sarvam':
238242
return SARVAM_LANGUAGES
243+
elif provider == 'elevenlabs':
244+
return ELEVENLABS_LANGUAGES
239245
elif provider in ['assemblyai', 'whisper', 'google', 'azure']:
240246
# For providers not yet fully implemented, skip validation
241247
return set()

0 commit comments

Comments
 (0)