add python API and examples for TTS (#364)

This commit is contained in:
Fangjun Kuang
2023-10-14 14:21:53 +08:00
committed by GitHub
parent 1ac2232e14
commit 655e0fa836
16 changed files with 320 additions and 6 deletions

View File

@@ -137,6 +137,7 @@ class BuildExtension(build_ext):
binaries += ["sherpa-onnx-offline-websocket-server"]
binaries += ["sherpa-onnx-online-websocket-client"]
binaries += ["sherpa-onnx-vad-microphone"]
binaries += ["sherpa-onnx-offline-tts"]
if is_windows():
binaries += ["kaldi-native-fbank-core.dll"]
@@ -144,6 +145,9 @@ class BuildExtension(build_ext):
binaries += ["sherpa-onnx-core.dll"]
binaries += ["sherpa-onnx-portaudio.dll"]
binaries += ["onnxruntime.dll"]
binaries += ["kaldi-decoder-core.dll"]
binaries += ["sherpa-onnx-fst.dll"]
binaries += ["sherpa-onnx-kaldifst-core.dll"]
for f in binaries:
suffix = "" if "dll" in f else suffix