From 1cf100ce7a8c191cfc04e767a0a78592e47d3daf Mon Sep 17 00:00:00 2001
From: nichongjia-2007 <nichongjia@gmail.com>
Date: 星期四, 11 五月 2023 09:47:35 +0800
Subject: [PATCH] modify asr.py

---
 funasr/runtime/onnxruntime/src/e2e-vad.h |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/funasr/runtime/onnxruntime/src/e2e-vad.h b/funasr/runtime/onnxruntime/src/e2e-vad.h
index d881a32..e9a8293 100644
--- a/funasr/runtime/onnxruntime/src/e2e-vad.h
+++ b/funasr/runtime/onnxruntime/src/e2e-vad.h
@@ -3,6 +3,8 @@
  * MIT License  (https://opensource.org/licenses/MIT)
 */
 
+#pragma once 
+
 #include <utility>
 #include <vector>
 #include <string>
@@ -13,7 +15,7 @@
 #include <numeric>
 #include <cassert>
 
-
+namespace funasr {
 enum class VadStateMachine {
     kVadInStateStartPointNotDetected = 1,
     kVadInStateInSpeechSegment = 2,
@@ -779,5 +781,4 @@
 
 };
 
-
-
+} // namespace funasr

--
Gitblit v1.9.1