Skip to content

createTextToSpeech

createTextToSpeech(config?, opts?): Promise<TextToSpeech>

Defined in: packages/runntime/src/zoo/tasks/audio/textToSpeech.ts:165

Loads Reverb, its codec decoder and tokenizer, warms the GPU, and returns the runner. With no config, loads Reverb from the Hugging Face Hub.

TextToSpeechModel = {}

LoadOptions = {}

Promise<TextToSpeech>