mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-13 08:15:21 +02:00
fix: fix drift
This commit is contained in:
parent
114320a341
commit
95390fe95b
2 changed files with 5 additions and 5 deletions
|
|
@ -250,9 +250,9 @@ def create_tts_service(user_config, audio_config: "AudioConfig"):
|
|||
# ElevenLabs TTS uses WebSocket. Users configure base_url with an HTTP
|
||||
# scheme (matching ElevenLabs documentation, e.g.
|
||||
# https://api.eu.residency.elevenlabs.io); rewrite it to the WS scheme.
|
||||
elevenlabs_url = user_config.tts.base_url.replace(
|
||||
"https://", "wss://"
|
||||
).replace("http://", "ws://")
|
||||
elevenlabs_url = user_config.tts.base_url.replace("https://", "wss://").replace(
|
||||
"http://", "ws://"
|
||||
)
|
||||
return ElevenLabsTTSService(
|
||||
reconnect_on_error=False,
|
||||
api_key=user_config.tts.api_key,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue