Set the TTS API Base URL
Description
Sets the base URL for the TTS API. This should be the root URL without trailing slash (e.g., “http://localhost:7810” or “https://api.openai.com”).
Usage
1set_tts_base(url)
Arguments
url: Character string. The base URL for the API.
Value
Invisibly returns the previous value.
Examples
1# For local Chatterbox server
2set_tts_base("http://localhost:7810")
3
4# For OpenAI
5set_tts_base("https://api.openai.com")