From 3549c0106e5a35ef2ddffdfd7381e613ed5310bd Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期四, 14 三月 2024 15:11:22 +0800
Subject: [PATCH] update com define

---
 runtime/websocket/bin/funasr-wss-server.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/runtime/websocket/bin/funasr-wss-server.cpp b/runtime/websocket/bin/funasr-wss-server.cpp
index 48ef454..3da7239 100644
--- a/runtime/websocket/bin/funasr-wss-server.cpp
+++ b/runtime/websocket/bin/funasr-wss-server.cpp
@@ -121,7 +121,7 @@
         false, "/workspace/resources/hotwords.txt", "string");
     TCLAP::ValueArg<std::int32_t> fst_inc_wts("", FST_INC_WTS, 
         "the fst hotwords incremental bias", false, 20, "int32_t");
-    TCLAP::SwitchArg use_gpu("", USE_GPU, "Whether to use GPU, default is false", false);
+    TCLAP::SwitchArg use_gpu("", INFER_GPU, "Whether to use GPU, default is false", false);
 
     // add file
     cmd.add(hotword);

--
Gitblit v1.9.1