From 4f8bce944e273e317cb84c7046ea514b9d958b4b Mon Sep 17 00:00:00 2001 From: zhuzizyf <42790740+zhuzizyf@users.noreply.github.com> Date: 星期六, 22 四月 2023 14:54:49 +0800 Subject: [PATCH] Update FsmnVad.cc --- funasr/runtime/python/grpc/Readme.md | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/funasr/runtime/python/grpc/Readme.md b/funasr/runtime/python/grpc/Readme.md index 996dcdd..822cb52 100644 --- a/funasr/runtime/python/grpc/Readme.md +++ b/funasr/runtime/python/grpc/Readme.md @@ -1,8 +1,6 @@ -# Using paraformer with grpc +# Using funasr with grpc-python We can send streaming audio data to server in real-time with grpc client every 10 ms e.g., and get transcribed text when stop speaking. The audio data is in streaming, the asr inference process is in offline. - - ## For the Server @@ -28,9 +26,7 @@ Install [`funasr_onnx`](https://github.com/alibaba-damo-academy/FunASR/tree/main/funasr/runtime/python/onnxruntime). ``` -cd funasr/runtime/python/onnxruntime -python setup.py build -python setup.py install +pip install funasr_onnx -i https://pypi.Python.org/simple ``` Export the model, more details ref to [export docs](https://github.com/alibaba-damo-academy/FunASR/tree/main/funasr/runtime/python/onnxruntime). @@ -65,6 +61,7 @@ ### Install the requirements ```shell +git clone https://github.com/alibaba/FunASR.git && cd FunASR cd funasr/runtime/python/grpc pip install -r requirements_client.txt ``` @@ -86,8 +83,8 @@ ## Workflow in desgin - +<div align="left"><img src="proto/workflow.png" width="400"/> ## Reference We borrow from or refer to some code as: -- Gitblit v1.9.1