piper_text2speech#
- class baf.nlp.text2speech.piper_text2speech.PiperText2Speech(agent, model_name='mbarnig/lb_rhasspy_piper_tts', language=None)[source]#
Bases:
Text2SpeechA Piper Text2Speech implementation.
It loads a specific Piper model running in a Docker container to perform the Speech2Text task. Piper Model: https://huggingface.co/mbarnig/lb_rhasspy_piper_tts
- Parameters:
nlp_engine (NLPEngine) – the NLPEngine that handles the NLP processes of the agent
- _dtype#
The audio dtype
- _abc_impl = <_abc._abc_data object>#