From 267e2d09e643d6d0fd45a0d874bbaa0927152def Mon Sep 17 00:00:00 2001 From: lzr265946 <lzr265946@alibaba-inc.com> Date: 星期五, 17 二月 2023 11:12:03 +0800 Subject: [PATCH] support paraformer-large-contextual with vad and punc model --- 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