Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

add denpendency for grpc

huangmingming01d19e923cbc
diff --git a/funasr/runtime/python/grpc/Readme.md b/funasr/runtime/python/grpc/Readme.md
index 1ac27f2a3..053b3d05b 100644
--- a/funasr/runtime/python/grpc/Readme.md
+++ b/funasr/runtime/python/grpc/Readme.md
@@ -26,6 +26,11 @@ cd FunASR/funasr/runtime/python/grpc/
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.
@@ -38,6 +43,7 @@ Step 3) Start grpc server (on server).
python -m pip install grpcio grpcio-tools
```
```
+# Start server.
python grpc_main_server.py --port 10095
```