Module: tts_inference_workflow
Module containing a TTS (text-to-speech) Inference Workflow object.
AudioInferenceResult
Bases: BaseModel
Base workflow object for text-to-speech inference.
Source code in src/infernet_ml/workflows/inference/tts_inference_workflow.py
model_config = ConfigDict(arbitrary_types_allowed=True)
class-attribute
instance-attribute
a numpy array.
TTSInferenceWorkflow
Bases: BaseInferenceWorkflow
Base workflow object for text-to-speech inference.
Source code in src/infernet_ml/workflows/inference/tts_inference_workflow.py
do_postprocessing(input_data, audio_array)
abstractmethod
Post-processing of the audio array. This method should be implemented by the child class. In most cases it will include generation of a wav file.