AIUI icon indicating copy to clipboard operation
AIUI copied to clipboard

Custom Voice

Open EtahReign opened this issue 1 year ago • 1 comments

Hello,

I purchased a custom voice from Cereproc. How can I use the custom voice with this interface?

EtahReign avatar Jun 22 '23 00:06 EtahReign

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}")

Braunfeltd avatar Jul 20 '23 18:07 Braunfeltd