From 4d0bbae6830019dc3a856754dada8ddc1416e83e Mon Sep 17 00:00:00 2001
From: Lizerui9926 <110582652+Lizerui9926@users.noreply.github.com>
Date: 星期四, 12 十月 2023 16:19:13 +0800
Subject: [PATCH] Merge pull request #1003 from alibaba-damo-academy/dev_lzr_en
---
funasr/runtime/onnxruntime/include/model.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/funasr/runtime/onnxruntime/include/model.h b/funasr/runtime/onnxruntime/include/model.h
index 8019a07..7f1e0ac 100644
--- a/funasr/runtime/onnxruntime/include/model.h
+++ b/funasr/runtime/onnxruntime/include/model.h
@@ -18,6 +18,7 @@
virtual void InitHwCompiler(const std::string &hw_model, int thread_num){};
virtual void InitSegDict(const std::string &seg_dict_model){};
virtual std::vector<std::vector<float>> CompileHotwordEmbedding(std::string &hotwords){return std::vector<std::vector<float>>();};
+ virtual std::string GetLang(){return "";};
};
Model *CreateModel(std::map<std::string, std::string>& model_path, int thread_num=1, ASR_TYPE type=ASR_OFFLINE);
--
Gitblit v1.9.1