From 74cf8b65b2254eee059f6f599bb6095db5c66001 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期四, 16 十一月 2023 11:12:20 +0800
Subject: [PATCH] fix the issue of hotwords_embedding potentially being a null pointer

---
 runtime/deploy_tools/funasr-runtime-deploy-offline-cpu-en.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/runtime/deploy_tools/funasr-runtime-deploy-offline-cpu-en.sh b/runtime/deploy_tools/funasr-runtime-deploy-offline-cpu-en.sh
index 893ab70..c596ff7 100644
--- a/runtime/deploy_tools/funasr-runtime-deploy-offline-cpu-en.sh
+++ b/runtime/deploy_tools/funasr-runtime-deploy-offline-cpu-en.sh
@@ -323,7 +323,7 @@
                 $DEFAULT_FUNASR_CONFIG_DIR=$DEFAULT_FUNASR_CONFIG_DIR_BAK
             fi
         fi
-        DEFAULT_FUNASR_CONFIG_DIR=${DEFAULT_FUNASR_CONFIG_DIR}/.funasr
+        DEFAULT_FUNASR_CONFIG_DIR=${DEFAULT_FUNASR_CONFIG_DIR}/.funasr_en
     fi
 
     if [ ! -z "$DEFAULT_FUNASR_CONFIG_DIR" ]; then

--
Gitblit v1.9.1