From 6866a649162b90b49d64c6ec264f2fdbd1309c91 Mon Sep 17 00:00:00 2001
From: huangmingming <huangmingming@deepscience.cn>
Date: 星期四, 16 三月 2023 15:22:13 +0800
Subject: [PATCH] update readme

---
 funasr/runtime/grpc/Readme.md  |    8 ++++----
 funasr/runtime/grpc/rebuild.sh |    4 ++++
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/funasr/runtime/grpc/Readme.md b/funasr/runtime/grpc/Readme.md
index 8f8612c..b8722c7 100644
--- a/funasr/runtime/grpc/Readme.md
+++ b/funasr/runtime/grpc/Readme.md
@@ -1,7 +1,7 @@
 ## paraformer grpc onnx server in c++
 
 
-#### Build ../onnxruntime as it's document
+#### Step 1. Build ../onnxruntime as it's document
 ```
 #put onnx-lib & onnx-asr-model & vocab.txt into /data/asrmodel
 ls /data/asrmodel/
@@ -11,7 +11,7 @@
 UTF-8 Unicode text
 ```
 
-#### Compile and install grpc v1.52.0 in case of grpc bugs
+#### Step 2. Compile and install grpc v1.52.0 in case of grpc bugs
 ```
 export GRPC_INSTALL_DIR=/data/soft/grpc
 export PKG_CONFIG_PATH=$GRPC_INSTALL_DIR/lib/pkgconfig
@@ -35,14 +35,14 @@
 source ~/.bashrc
 ```
 
-#### Compile grpc onnx paraformer server
+#### Step 3. Compile and start grpc onnx paraformer server
 ```
 ./rebuild.sh
 ```
 
 
 
-#### Start grpc python paraformer client  on PC with MIC
+#### Step 4. Start grpc python paraformer client  on PC with MIC
 ```
 cd ../python/grpc
 python grpc_main_client_mic.py  --host $server_ip --port 10108
diff --git a/funasr/runtime/grpc/rebuild.sh b/funasr/runtime/grpc/rebuild.sh
index 9b41ed6..4b76012 100644
--- a/funasr/runtime/grpc/rebuild.sh
+++ b/funasr/runtime/grpc/rebuild.sh
@@ -10,3 +10,7 @@
 
 
 echo "Build cmake/build/paraformer_server successfully!"
+
+echo "Start server"
+
+./paraformer_server
\ No newline at end of file

--
Gitblit v1.9.1