From dfcc5d47587d3e793cbfec2e9509c0e9a9e1732c Mon Sep 17 00:00:00 2001 From: Dogvane Huang <dogvane@gmail.com> Date: 星期二, 02 七月 2024 12:24:13 +0800 Subject: [PATCH] fix c# demo project to new onnx model files (#1689) --- 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