From 15da2a10acd8b7aa75ae152874ed75d3dfa4fa89 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期二, 14 十一月 2023 15:49:10 +0800
Subject: [PATCH] docs
---
runtime/websocket/bin/funasr-wss-server.cpp | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/runtime/websocket/bin/funasr-wss-server.cpp b/runtime/websocket/bin/funasr-wss-server.cpp
index c285fd3..da7fdd4 100644
--- a/runtime/websocket/bin/funasr-wss-server.cpp
+++ b/runtime/websocket/bin/funasr-wss-server.cpp
@@ -11,7 +11,11 @@
// [--vad-quant <string>] [--vad-dir <string>] [--quantize
// <string>] --model-dir <string> [--] [--version] [-h]
#include "websocket-server.h"
+#ifdef _WIN32
+#include "win_func.h"
+#else
#include <unistd.h>
+#endif
#include <fstream>
#include "util.h"
@@ -108,7 +112,7 @@
TCLAP::ValueArg<float> am_scale("", AM_SCALE, "the acoustic scale for beam searching ", false, 10.0, "float");
TCLAP::ValueArg<std::string> lm_dir("", LM_DIR,
- "the LM model path, which contains compiled models: TLG.fst, config.yaml ", false, "", "string");
+ "the LM model path, which contains compiled models: TLG.fst, config.yaml ", false, "damo/speech_ngram_lm_zh-cn-ai-wesp-fst", "string");
TCLAP::ValueArg<std::string> lm_revision(
"", "lm-revision", "LM model revision", false, "v1.0.1", "string");
TCLAP::ValueArg<std::string> hotword("", HOTWORD,
--
Gitblit v1.9.1