From e62eaed72420c252246f95f2d026e935f6fc00e2 Mon Sep 17 00:00:00 2001 From: haoneng.lhn <haoneng.lhn@alibaba-inc.com> Date: 星期一, 06 十一月 2023 17:12:01 +0800 Subject: [PATCH] support resample for vad inference pipeline --- funasr/runtime/onnxruntime/src/ct-transformer.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/funasr/runtime/onnxruntime/src/ct-transformer.h b/funasr/runtime/onnxruntime/src/ct-transformer.h index 49ed1b7..b33dcf5 100644 --- a/funasr/runtime/onnxruntime/src/ct-transformer.h +++ b/funasr/runtime/onnxruntime/src/ct-transformer.h @@ -29,6 +29,6 @@ void InitPunc(const std::string &punc_model, const std::string &punc_config, int thread_num); ~CTTransformer(); vector<int> Infer(vector<int32_t> input_data); - string AddPunc(const char* sz_input); + string AddPunc(const char* sz_input, std::string language="zh-cn"); }; } // namespace funasr \ No newline at end of file -- Gitblit v1.9.1