AIUI
AIUI copied to clipboard
Custom Voice
Hello,
I purchased a custom voice from Cereproc. How can I use the custom voice with this interface?
you would have to build your your connection into the tts.py currently supports these: if TTS_PROVIDER == "gTTS": return _gtts_to_speech(text, background_tasks) elif TTS_PROVIDER == "ELEVENLABS": return _elevenlabs_to_speech(text, background_tasks) elif TTS_PROVIDER == "STREAMELEMENTS": return _streamelements_to_speech(text, background_tasks) elif TTS_PROVIDER == "EDGETTS": return await _edge_tts_to_speech(text, background_tasks) else: raise ValueError(f"env var TTS_PROVIDER set to unsupported value: {TTS_PROVIDER}")