From 8689fb676d6cd28894f55c8cac43409e7bf4cd38 Mon Sep 17 00:00:00 2001 From: 凌匀 <ailsa.zly@alibaba-inc.com> Date: 星期四, 16 二月 2023 23:08:56 +0800 Subject: [PATCH] support asr_inference_paraformer_vad_punc --- funasr/runtime/python/grpc/Readme.md | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/funasr/runtime/python/grpc/Readme.md b/funasr/runtime/python/grpc/Readme.md index 1ac27f2..053b3d0 100644 --- a/funasr/runtime/python/grpc/Readme.md +++ b/funasr/runtime/python/grpc/Readme.md @@ -27,6 +27,11 @@ Step 2) Optional, generate protobuf file (run on server, the two generated pb files are both used for server and client). ``` +# Optional, Install dependency. +python -m pip install grpcio grpcio-tools +``` + +``` # paraformer_pb2.py and paraformer_pb2_grpc.py are already generated, # regenerate it only when you make changes to ./proto/paraformer.proto file. python -m grpc_tools.protoc --proto_path=./proto -I ./proto --python_out=. --grpc_python_out=./ ./proto/paraformer.proto @@ -38,6 +43,7 @@ python -m pip install grpcio grpcio-tools ``` ``` +# Start server. python grpc_main_server.py --port 10095 ``` -- Gitblit v1.9.1