Add Python API and Python examples for audio tagging (#753)

This commit is contained in:
Fangjun Kuang
2024-04-11 11:12:48 +08:00
committed by GitHub
parent 904a3cc8a9
commit 34d70a259f
12 changed files with 245 additions and 6 deletions

View File

@@ -5,6 +5,7 @@
#include "sherpa-onnx/python/csrc/sherpa-onnx.h"
#include "sherpa-onnx/python/csrc/alsa.h"
#include "sherpa-onnx/python/csrc/audio-tagging.h"
#include "sherpa-onnx/python/csrc/circular-buffer.h"
#include "sherpa-onnx/python/csrc/display.h"
#include "sherpa-onnx/python/csrc/endpoint.h"
@@ -38,6 +39,7 @@ PYBIND11_MODULE(_sherpa_onnx, m) {
m.doc() = "pybind11 binding of sherpa-onnx";
PybindWaveWriter(&m);
PybindAudioTagging(&m);
PybindFeatures(&m);
PybindOnlineCtcFstDecoderConfig(&m);