working version
This commit is contained in:
parent
1043402516
commit
8c8600d458
8
app.py
8
app.py
@ -207,10 +207,10 @@ LANGUAGE_TO_CODE = {v: k for k, v in SUPPORTED_LANGUAGES.items()}
|
||||
# Map language names to OpenAI TTS voice options
|
||||
LANGUAGE_TO_VOICE = {
|
||||
"Arabic": "ar-EG-ShakirNeural", # Using OpenAI general voices
|
||||
"Armenian": "echo", # as OpenAI doesn't have specific voices
|
||||
"Azerbaijani": "az-AZ-BanuNeural", # for all these languages
|
||||
"English": "en-GB-RyanNeural", # We'll use the available voices
|
||||
"French": "fr-FR-EloiseNeural", # and rely on the translation being
|
||||
"Armenian": "echo", # as OpenAI doesn't have specific voices
|
||||
"Azerbaijani": "az-AZ-BanuNeural", # for all these languages
|
||||
"English": "en-GB-RyanNeural", # We'll use the available voices
|
||||
"French": "fr-FR-DeniseNeural", # and rely on the translation being
|
||||
"Georgian": "ka-GE-GiorgiNeural", # in the correct language text
|
||||
"Kazakh": "kk-KZ-DauletNeural",
|
||||
"Mandarin": "zh-CN-YunjianNeural",
|
||||
|
Loading…
Reference in New Issue
Block a user