We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0a8179 commit 8a68803Copy full SHA for 8a68803
core_backend/app/llm_call/llm_prompts.py
@@ -336,6 +336,7 @@ class IdentifiedLanguage(str, Enum):
336
# AFRIKAANS = "AFRIKAANS"
337
ENGLISH = "ENGLISH"
338
FRENCH = "FRENCH"
339
+ SPANISH = "SPANISH"
340
HINDI = "HINDI"
341
SWAHILI = "SWAHILI"
342
UNINTELLIGIBLE = "UNINTELLIGIBLE"
core_backend/app/question_answer/speech_components/utils.py
@@ -19,6 +19,7 @@
19
lang_code_mapping_tts = {
20
IdentifiedLanguage.ENGLISH: ("en-US", "Neural2-D"),
21
IdentifiedLanguage.HINDI: ("hi-IN", "Neural2-D"),
22
+ IdentifiedLanguage.SPANISH: ("es-ES", "Neural2-D"),
23
# IdentifiedLanguage.SWAHILI: ("sw-TZ", "Neural2-D"), # No support for swahili
24
# Add more languages and models as needed
25
}
0 commit comments