mirror of
https://github.com/open-webui/open-webui
synced 2025-01-18 08:40:58 +00:00
refac
This commit is contained in:
parent
afa42dd2e4
commit
b4f1a0b5a6
@ -1475,12 +1475,14 @@ AUDIO_TTS_SPLIT_ON = PersistentConfig(
|
|||||||
|
|
||||||
AUDIO_TTS_AZURE_SPEECH_REGION = PersistentConfig(
|
AUDIO_TTS_AZURE_SPEECH_REGION = PersistentConfig(
|
||||||
"AUDIO_TTS_AZURE_SPEECH_REGION",
|
"AUDIO_TTS_AZURE_SPEECH_REGION",
|
||||||
"audio.tts.azure_speech_region",
|
"audio.tts.azure.speech_region",
|
||||||
os.getenv("AUDIO_TTS_AZURE_SPEECH_REGION", "uksouth"),
|
os.getenv("AUDIO_TTS_AZURE_SPEECH_REGION", "eastus"),
|
||||||
)
|
)
|
||||||
|
|
||||||
AUDIO_TTS_AZURE_SPEECH_OUTPUT_FORMAT = PersistentConfig(
|
AUDIO_TTS_AZURE_SPEECH_OUTPUT_FORMAT = PersistentConfig(
|
||||||
"AUDIO_TTS_AZURE_SPEECH_OUTPUT_FORMAT",
|
"AUDIO_TTS_AZURE_SPEECH_OUTPUT_FORMAT",
|
||||||
"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'),
|
os.getenv(
|
||||||
|
"AUDIO_TTS_AZURE_SPEECH_OUTPUT_FORMAT", "audio-24khz-160kbitrate-mono-mp3"
|
||||||
|
),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user