From ee1eefff68e25f2e7674616be34518b07d8135c3 Mon Sep 17 00:00:00 2001
From: Lizerui9926 <110582652+Lizerui9926@users.noreply.github.com>
Date: 星期四, 09 十一月 2023 13:09:28 +0800
Subject: [PATCH] Merge pull request #1075 from alibaba-damo-academy/dev_lzr_en
---
runtime/onnxruntime/bin/funasr-onnx-2pass.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/runtime/onnxruntime/bin/funasr-onnx-2pass.cpp b/runtime/onnxruntime/bin/funasr-onnx-2pass.cpp
index d015499..5af0b41 100644
--- a/runtime/onnxruntime/bin/funasr-onnx-2pass.cpp
+++ b/runtime/onnxruntime/bin/funasr-onnx-2pass.cpp
@@ -113,7 +113,7 @@
// hotword file
unordered_map<string, int> hws_map;
std::string nn_hotwords_ = "";
- std::string hotword_path = model_path.at(HOTWORD);
+ std::string hotword_path = hotword.getValue();
LOG(INFO) << "hotword path: " << hotword_path;
funasr::ExtractHws(hotword_path, hws_map, nn_hotwords_);
--
Gitblit v1.9.1