From eea2a7689f18ce7ef3b0ab8bd3657f4f6f5cf8e0 Mon Sep 17 00:00:00 2001
From: lyblsgo <wucong.lyb@alibaba-inc.com>
Date: 星期三, 10 五月 2023 16:52:46 +0800
Subject: [PATCH] fix paraformer-server for new apis

---
 funasr/runtime/onnxruntime/src/vad-model.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/funasr/runtime/onnxruntime/src/vad-model.cpp b/funasr/runtime/onnxruntime/src/vad-model.cpp
index 0a0ec84..764db00 100644
--- a/funasr/runtime/onnxruntime/src/vad-model.cpp
+++ b/funasr/runtime/onnxruntime/src/vad-model.cpp
@@ -1,5 +1,6 @@
 #include "precomp.h"
 
+namespace funasr {
 VadModel *CreateVadModel(std::map<std::string, std::string>& model_path, int thread_num)
 {
     VadModel *mm;
@@ -19,3 +20,5 @@
     mm->InitVad(vad_model_path, vad_cmvn_path, vad_config_path, thread_num);
     return mm;
 }
+
+} // namespace funasr
\ No newline at end of file

--
Gitblit v1.9.1