yangrongzhao
Inflect-Nano-v2 for AX650 NPU3
a44ca9d
|
Raw
History Blame Contribute Delete
395 Bytes

Inflect-Nano-v2 TTS Python SDK

AX650 NPU3 U16-量化的文本转语音 SDK。

安装

pip install -r requirements.txt

使用

from inflect_tts_sdk import InflectTTSEngine
engine = InflectTTSEngine()
sr, wav = engine.synthesize("Hello world!")
engine.save("Hello!", "output.wav")

CLI

python -m inflect_tts_sdk --text "Hello" --output out.wav