| | |
| | | python funasr_wss_client.py --host "127.0.0.1" --port 10095 --mode 2pass --chunk_size "5,10,5" |
| | | ``` |
| | | |
| | | For more examples, please refer to [docs](runtime/python/websocket/README.md). |
| | | For more examples, please refer to [docs](../runtime/python/websocket/README.md). |
| | | |
| | | ### C++ version Example |
| | | |
| | |
| | | ```shell |
| | | python3 funasr_wss_client.py --host "127.0.0.1" --port 10095 --mode 2pass |
| | | ``` |
| | | For more examples, please refer to [docs](runtime/docs/SDK_tutorial_online_zh.md) |
| | | For more examples, please refer to [docs](../runtime/docs/SDK_tutorial_online_zh.md) |
| | | |
| | | |
| | | #### File Transcription Service, Mandarin (CPU) |
| | |
| | | python3 funasr_wss_client.py --host "127.0.0.1" --port 10095 --mode offline --audio_in "../audio/asr_example.wav" |
| | | ``` |
| | | |
| | | For more examples, please refer to [docs](runtime/docs/SDK_tutorial_zh.md) |
| | | For more examples, please refer to [docs](../runtime/docs/SDK_tutorial_zh.md) |
| | | |
| | | |
| | | ## Industrial Model Egs |
| | |
| | | python funasr_wss_client.py --host "127.0.0.1" --port 10095 --mode 2pass --chunk_size "5,10,5" |
| | | #python funasr_wss_client.py --host "127.0.0.1" --port 10095 --mode 2pass --chunk_size "8,8,4" --audio_in "./data/wav.scp" |
| | | ``` |
| | | 更多例子可以参考([点击此处](runtime/python/websocket/README.md)) |
| | | 更多例子可以参考([点击此处](../runtime/python/websocket/README.md)) |
| | | |
| | | <a name="cpp版本示例"></a> |
| | | #### c++版本示例 |
| | |
| | | ```shell |
| | | python3 funasr_wss_client.py --host "127.0.0.1" --port 10095 --mode 2pass |
| | | ``` |
| | | 更多例子参考([点击此处](runtime/docs/SDK_tutorial_online_zh.md)) |
| | | 更多例子参考([点击此处](../runtime/docs/SDK_tutorial_online_zh.md)) |
| | | |
| | | ##### 离线文件转写服务部署 |
| | | ###### 服务端部署 |
| | |
| | | ```shell |
| | | python3 funasr_wss_client.py --host "127.0.0.1" --port 10095 --mode offline --audio_in "../audio/asr_example.wav" |
| | | ``` |
| | | 更多例子参考([点击此处](runtime/docs/SDK_tutorial_zh.md)) |
| | | 更多例子参考([点击此处](../runtime/docs/SDK_tutorial_zh.md)) |
| | | |
| | | |
| | | |