File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ std::unique_ptr<AudioTaggingImpl> AudioTaggingImpl::Create(
25
25
return std::make_unique<AudioTaggingCEDImpl>(config);
26
26
}
27
27
28
- SHERPA_ONNX_LOG (
28
+ SHERPA_ONNX_LOGE (
29
29
" Please specify an audio tagging model! Return a null pointer" );
30
30
return nullptr ;
31
31
}
@@ -39,7 +39,7 @@ std::unique_ptr<AudioTaggingImpl> AudioTaggingImpl::Create(
39
39
return std::make_unique<AudioTaggingCEDImpl>(mgr, config);
40
40
}
41
41
42
- SHERPA_ONNX_LOG (
42
+ SHERPA_ONNX_LOGE (
43
43
" Please specify an audio tagging model! Return a null pointer" );
44
44
return nullptr ;
45
45
}
Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ class KeywordSpotterTransducerImpl : public KeywordSpotterImpl {
307
307
308
308
void InitOnlineStream (OnlineStream *stream) const {
309
309
auto r = decoder_->GetEmptyResult ();
310
- SHERPA_ONNX_CHECK_EQ (r.hyps .size (), 1 );
310
+ SHERPA_ONNX_CHECK_EQ (r.hyps .Size (), 1 );
311
311
312
312
SHERPA_ONNX_CHECK (stream->GetContextGraph () != nullptr );
313
313
r.hyps .begin ()->second .context_state = stream->GetContextGraph ()->Root ();
You can’t perform that action at this time.
0 commit comments