From 6de8dfea1c4d8bc8d2108af6f2fb6d807436c720 Mon Sep 17 00:00:00 2001
From: huangmingming <huangmingming@deepscience.cn>
Date: 星期三, 08 三月 2023 16:32:16 +0800
Subject: [PATCH] call api

---
 funasr/runtime/grpc/Readme.md |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/funasr/runtime/grpc/Readme.md b/funasr/runtime/grpc/Readme.md
index aabb79c..57e86d1 100644
--- a/funasr/runtime/grpc/Readme.md
+++ b/funasr/runtime/grpc/Readme.md
@@ -1,6 +1,12 @@
 ## paraformer grpc onnx server
 
 
+#### build ../onnxruntime as it's document
+```
+#put onnx lib and model into /data/asrmodel
+ls /data/asrmodel/
+onnxruntime-linux-x64-1.14.0  speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch
+```
 
 #### compile and install grpc v1.52.0 in case of grpc bugs
 ```
@@ -24,10 +30,7 @@
 echo "export PKG_CONFIG_PATH=\$GRPC_INSTALL_DIR/lib/pkgconfig" >> ~/.bashrc
 echo "export PATH=\$GRPC_INSTALL_DIR/bin/:\$PKG_CONFIG_PATH:\$PATH" >> ~/.bashrc
 source ~/.bashrc
-
 ```
-
-
 
 #### compile grpc onnx paraformer server
 ```
@@ -35,7 +38,6 @@
 #file vocab.txt : UTF-8 Unicode text
 
 ./rebuild.sh
-
 ```
 
 
@@ -43,7 +45,5 @@
 #### start grpc python paraformer client  on PC with MIC
 ```
 cd ../python/grpc
-python grpc_main_client_mic.py  --host 127.0.0.1 --port 10108
+python grpc_main_client_mic.py  --host $server_ip --port 10108
 ```
-
-

--
Gitblit v1.9.1