Update TTS/openai_tts.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/2426/head
Jason Cameron 1 month ago committed by GitHub
parent 4fb135264c
commit 149db53ff0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -32,7 +32,7 @@ class OpenAITTS:
# Remove trailing slash if present
if base_url.endswith("/"):
base_url = base_url[:-1]
# Hänge den TTS-spezifischen Pfad an
# Append the TTS-specific path
self.api_url = base_url + "/audio/speech"
# Set the available voices to a static list as per OpenAI TTS documentation.

Loading…
Cancel
Save