huangmingming
2023-01-29 31096e8896697c7721e3aa75e20f0b03f7c3d9d7
update readme, for start grpc server and client
2个文件已修改
10 ■■■■ 已修改文件
funasr/runtime/python/grpc/Readme.md 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
funasr/runtime/python/grpc/grpc_main_server.py 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
funasr/runtime/python/grpc/Readme.md
@@ -11,6 +11,11 @@
```
Step 2) start grpc server
```
python grpc_main_server.py --port 10095
```
Step 3) start grpc client
Step 3) start grpc client
```
python grpc_main_client_mic.py --host 127.0.0.1 --port 10095
```
funasr/runtime/python/grpc/grpc_main_server.py
@@ -20,6 +20,7 @@
    parser.add_argument("--port",
                        type=int,
                        default=10095,
                        required=True,
                        help="grpc server port")
                        
    parser.add_argument("--user_allowed",