From a64b7d8d8aeb2bb543ca703045a45f42470e9a63 Mon Sep 17 00:00:00 2001 From: 彭震东 <zhendong.peng@qq.com> Date: 星期四, 30 五月 2024 15:12:53 +0800 Subject: [PATCH] keep empty speech result (#1772) --- runtime/onnxruntime/include/funasrruntime.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/onnxruntime/include/funasrruntime.h b/runtime/onnxruntime/include/funasrruntime.h index cc9ba3d..ac9a3bd 100644 --- a/runtime/onnxruntime/include/funasrruntime.h +++ b/runtime/onnxruntime/include/funasrruntime.h @@ -106,9 +106,9 @@ _FUNASRAPI FUNASR_RESULT FunOfflineInfer(FUNASR_HANDLE handle, const char* sz_filename, FUNASR_MODE mode, QM_CALLBACK fn_callback, const std::vector<std::vector<float>> &hw_emb, int sampling_rate=16000, bool itn=true, FUNASR_DEC_HANDLE dec_handle=nullptr); -#if !defined(__APPLE__) +//#if !defined(__APPLE__) _FUNASRAPI const std::vector<std::vector<float>> CompileHotwordEmbedding(FUNASR_HANDLE handle, std::string &hotwords, ASR_TYPE mode=ASR_OFFLINE); -#endif +//#endif _FUNASRAPI void FunOfflineUninit(FUNASR_HANDLE handle); -- Gitblit v1.9.1