From ae013cf597db1c523c9fac21b7e83db62304ae2d Mon Sep 17 00:00:00 2001
From: zhaomingwork <61895407+zhaomingwork@users.noreply.github.com>
Date: 星期四, 08 五月 2025 23:52:09 +0800
Subject: [PATCH] fix bug for core dump in http, use libboost as parse (#2509)

---
 runtime/http/readme.md |   14 ++++----------
 1 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/runtime/http/readme.md b/runtime/http/readme.md
index 4e04500..edecba9 100644
--- a/runtime/http/readme.md
+++ b/runtime/http/readme.md
@@ -18,6 +18,9 @@
 
 ### Install deps
 ```shell
+
+# need to install boost lib
+apt install libboost-dev libboost-system-dev #ubuntu
 # openblas
 sudo apt-get install libopenblas-dev #ubuntu
 # sudo yum -y install openblas-devel #centos
@@ -44,15 +47,6 @@
 ### run
 
 ```shell
-./funasr-http-server  \
-  --lm-dir '' \
-  --itn-dir '' \
-  --download-model-dir ${download_model_dir} \
-  --model-dir ${model_dir} \
-  --vad-dir ${vad_dir} \
-  --punc-dir ${punc_dir} \
-  --decoder-thread-num ${decoder_thread_num} \
-  --io-thread-num  ${io_thread_num} \
-  --port ${port} \
+./funasr-http-server  --vad-dir damo/speech_fsmn_vad_zh-cn-16k-common-onnx --model-dir damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-onnx --punc-dir damo/punc_ct-transformer_cn-en-common-vocab471067-large-onnx --itn-dir ''  --lm-dir ''  --port 10001
 ```
 

--
Gitblit v1.9.1