createSpeechToText
createSpeechToText(
config?,opts?):Promise<SpeechToText>
Defined in: packages/runntime/src/zoo/tasks/audio/speechToText.ts:93
Loads the checkpoint and the tokenizer, warms every GPU path once, and returns the runner. With no config, loads Moonshine tiny from the Hugging Face Hub.
Parameters
Section titled “Parameters”config?
Section titled “config?”SpeechToTextModel = {}
LoadOptions = {}
Returns
Section titled “Returns”Promise<SpeechToText>