Function: useTextToSpeech()
useTextToSpeech(
model,options?):TextToSpeechType
Defined in: hooks/natural_language_processing/useTextToSpeech.ts:20
React hook for managing Text to Speech instance.
Parameters
model
Configuration object containing model config.
options?
Additional options for the hook.
preventLoad?
boolean = false
If true, prevents the model from loading automatically on initialization.
Returns
Ready to use Text to Speech model.