C++ API demo for speaker identification with portaudio. (#561)

This commit is contained in:
Fangjun Kuang
2024-01-30 11:21:43 +08:00
committed by GitHub
parent 0aa47e5ccc
commit 0b18ccfbb2
5 changed files with 320 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ void SpeakerEmbeddingExtractorConfig::Register(ParseOptions *po) {
bool SpeakerEmbeddingExtractorConfig::Validate() const {
if (model.empty()) {
SHERPA_ONNX_LOGE("Please provide --speaker-embedding-model");
SHERPA_ONNX_LOGE("Please provide --model");
return false;
}