Skip to content

Commit e6d7966

Browse files
committed
Refines default TTS provider configuration via environment variable.
1 parent 64e4121 commit e6d7966

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
# Default application settings
5151
DEFAULT_APP_SETTINGS = {
52-
"tts_provider": "elevenlabs",
52+
"tts_provider": os.getenv("DEFAULT_TTS_PROVIDER", "elevenlabs"),
5353
"speaker_voices": {"John": "Schedar - Even", "Samantha": "Zephyr - Bright"},
5454
"speaker_voices_elevenlabs": {
5555
"John": {"id": "TX3LPaxmHKxFdv7VOQHJ", "display_name": "Liam - Male, Young, american"},

docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ services:
1010
- ELEVENLABS_API_KEY=${ELEVENLABS_API_KEY}
1111
- GEMINI_API_KEY=${GEMINI_API_KEY}
1212
- DEMO_AVAILABLE=${DEMO_AVAILABLE}
13-
restart: always
13+
- DEFAULT_TTS_PROVIDER=${DEFAULT_TTS_PROVIDER}
14+
restart: always

0 commit comments

Comments
 (0)