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

@@ -0,0 +1,16 @@
// sherpa-onnx/python/csrc/offline-tts.h
//
// Copyright (c) 2023 Xiaomi Corporation
#ifndef SHERPA_ONNX_PYTHON_CSRC_OFFLINE_TTS_H_
#define SHERPA_ONNX_PYTHON_CSRC_OFFLINE_TTS_H_
#include "sherpa-onnx/python/csrc/sherpa-onnx.h"
namespace sherpa_onnx {
void PybindOfflineTts(py::module *m);
}
#endif // SHERPA_ONNX_PYTHON_CSRC_OFFLINE_TTS_H_