From 08dffe7b81bacb83a7979d4ed730a9f07eeff715 Mon Sep 17 00:00:00 2001
From: ShiLiang Zhang <sly.zsl@alibaba-inc.com>
Date: 星期六, 07 十月 2023 11:34:32 +0800
Subject: [PATCH] Update README.md

---
 funasr/runtime/onnxruntime/src/paraformer.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/funasr/runtime/onnxruntime/src/paraformer.h b/funasr/runtime/onnxruntime/src/paraformer.h
index 4080881..bac8fad 100644
--- a/funasr/runtime/onnxruntime/src/paraformer.h
+++ b/funasr/runtime/onnxruntime/src/paraformer.h
@@ -20,6 +20,7 @@
         //const float scale = 22.6274169979695;
         const float scale = 1.0;
 
+        void LoadConfigFromYaml(const char* filename);
         void LoadOnlineConfigFromYaml(const char* filename);
         void LoadCmvn(const char *filename);
         vector<float> ApplyLfr(const vector<float> &in);
@@ -32,6 +33,7 @@
         vector<const char*> hw_m_szInputNames;
         vector<const char*> hw_m_szOutputNames;
         bool use_hotword;
+        std::string language="zh-cn";
 
     public:
         Paraformer();

--
Gitblit v1.9.1