From c880db53646ab9fd26417f4baf004ab44cc24e1a Mon Sep 17 00:00:00 2001
From: lingji-yidong <75744976+lingji-yidong@users.noreply.github.com>
Date: 星期五, 28 六月 2024 01:28:24 +0800
Subject: [PATCH] Fix: Return tuple ('', []) when char_list is empty to prevent ValueError (#1857)
---
runtime/websocket/readme.md | 20 +++++---------------
1 files changed, 5 insertions(+), 15 deletions(-)
diff --git a/runtime/websocket/readme.md b/runtime/websocket/readme.md
index c022de0..8d4e41f 100644
--- a/runtime/websocket/readme.md
+++ b/runtime/websocket/readme.md
@@ -40,27 +40,17 @@
### Download onnxruntime
https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/dep_libs/onnxruntime-win-x64-1.16.1.zip
-Download to d:\ffmpeg-master-latest-win64-gpl-shared
+Download to d:\onnxruntime-win-x64-1.16.1
### Download ffmpeg
https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/dep_libs/ffmpeg-master-latest-win64-gpl-shared.zip
-Download to d:\onnxruntime-win-x64-1.16.1
+Download to d:\ffmpeg-master-latest-win64-gpl-shared
### Download openssl
-https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/dep_libs/openssl-1.1.1w.tar.gz
+https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/dep_libs/openssl-1.1.1w.zip
-Download to d:/src/openssl-1.1.1w
-
-Open x64 Native Tools Command Prompt and execute the following compilation steps
-```
-d:
-cd d:/src/openssl-1.1.1w
-perl Configure VC-WIN64A --prefix=d:/openssl-1.1.1w
-nmake
-namke install
-
-```
+Download to d:\openssl-1.1.1w
### Build runtime
```
@@ -70,5 +60,5 @@
cd build
cmake ../ -D OPENSSL_ROOT_DIR=d:/openssl-1.1.1w -D FFMPEG_DIR=d:/ffmpeg-master-latest-win64-gpl-shared -D ONNXRUNTIME_DIR=d:/onnxruntime-win-x64-1.16.1
```
-Open FunASRWebscoket.sln in Visual Studio and complete the compilation.
+Open FunASR/runtime/websocket/build/FunASRWebscoket.sln in Visual Studio and complete the compilation.
--
Gitblit v1.9.1