This commit is contained in:
Timothy J. Baek 2024-09-19 02:42:24 +02:00
parent afa42dd2e4
commit b4f1a0b5a6

View File

@ -1475,12 +1475,14 @@ AUDIO_TTS_SPLIT_ON = PersistentConfig(
AUDIO_TTS_AZURE_SPEECH_REGION = PersistentConfig(
"AUDIO_TTS_AZURE_SPEECH_REGION",
"audio.tts.azure_speech_region",
os.getenv("AUDIO_TTS_AZURE_SPEECH_REGION", "uksouth"),
"audio.tts.azure.speech_region",
os.getenv("AUDIO_TTS_AZURE_SPEECH_REGION", "eastus"),
)
AUDIO_TTS_AZURE_SPEECH_OUTPUT_FORMAT = PersistentConfig(
"AUDIO_TTS_AZURE_SPEECH_OUTPUT_FORMAT",
"audio.tts.azure_speech_output_format",
os.getenv("AUDIO_TTS_AZURE_SPEECH_OUTPUT_FORMAT", 'audio-24khz-160kbitrate-mono-mp3'),
"audio.tts.azure.speech_output_format",
os.getenv(
"AUDIO_TTS_AZURE_SPEECH_OUTPUT_FORMAT", "audio-24khz-160kbitrate-mono-mp3"
),
)