From 2f5d11f8e2802410b0e9a04442d0e40966b46ce6 Mon Sep 17 00:00:00 2001
From: shixian.shi <shixian.shi@alibaba-inc.com>
Date: 星期三, 19 七月 2023 11:20:24 +0800
Subject: [PATCH] bug fix for empty audio
---
funasr/runtime/onnxruntime/src/vocab.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/funasr/runtime/onnxruntime/src/vocab.h b/funasr/runtime/onnxruntime/src/vocab.h
index a3fdf65..6c4e523 100644
--- a/funasr/runtime/onnxruntime/src/vocab.h
+++ b/funasr/runtime/onnxruntime/src/vocab.h
@@ -7,6 +7,7 @@
#include <vector>
using namespace std;
+namespace funasr {
class Vocab {
private:
vector<string> vocab;
@@ -22,4 +23,5 @@
string Vector2StringV2(vector<int> in);
};
+} // namespace funasr
#endif
--
Gitblit v1.9.1