From b8909ab5b94e293605a9e04f42874e0320773a49 Mon Sep 17 00:00:00 2001 From: andyweiqiu <andywei_89@163.COM> Date: 星期四, 21 九月 2023 09:45:24 +0800 Subject: [PATCH] itn on iOS is not supported for the time being (#969) --- funasr/runtime/onnxruntime/include/funasrruntime.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/funasr/runtime/onnxruntime/include/funasrruntime.h b/funasr/runtime/onnxruntime/include/funasrruntime.h index 93824fb..14f6122 100644 --- a/funasr/runtime/onnxruntime/include/funasrruntime.h +++ b/funasr/runtime/onnxruntime/include/funasrruntime.h @@ -105,7 +105,10 @@ _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); +#if !defined(__APPLE__) _FUNASRAPI const std::vector<std::vector<float>> CompileHotwordEmbedding(FUNASR_HANDLE handle, std::string &hotwords, ASR_TYPE mode=ASR_OFFLINE); +#endif + _FUNASRAPI void FunOfflineUninit(FUNASR_HANDLE handle); //2passStream -- Gitblit v1.9.1