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/vocab.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/funasr/runtime/onnxruntime/src/vocab.cpp b/funasr/runtime/onnxruntime/src/vocab.cpp
index 53233b3..65af8b6 100644
--- a/funasr/runtime/onnxruntime/src/vocab.cpp
+++ b/funasr/runtime/onnxruntime/src/vocab.cpp
@@ -10,6 +10,7 @@
 
 using namespace std;
 
+namespace funasr {
 Vocab::Vocab(const char *filename)
 {
     ifstream in(filename);
@@ -151,3 +152,5 @@
 {
     return vocab.size();
 }
+
+} // namespace funasr
\ No newline at end of file

--
Gitblit v1.9.1