From 3cb44db96a1ae7985631759b593fee9efade7029 Mon Sep 17 00:00:00 2001 From: 游雁 <zhifu.gzf@alibaba-inc.com> Date: 星期一, 08 五月 2023 16:25:46 +0800 Subject: [PATCH] websocket python offline/online 2pass demo --- funasr/runtime/python/websocket/README.md | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/funasr/runtime/python/websocket/README.md b/funasr/runtime/python/websocket/README.md index 8f6c883..e73dbd5 100644 --- a/funasr/runtime/python/websocket/README.md +++ b/funasr/runtime/python/websocket/README.md @@ -48,6 +48,18 @@ ### Start client +```shell +python ws_client.py \ +--host [ip_address] \ +--port [port id] \ +--chunk_size ["5,10,5"=600ms, "8,8,4"=480ms] \ +--chunk_interval [duration of send chunk_size/chunk_interval] \ +--words_max_print [max number of words to print] \ +--audio_in [if set, loadding from wav.scp, else recording from mircrophone] \ +--output_dir [if set, write the results to output_dir] \ +--send_without_sleep [only set for offline] +``` + #### ASR offline client ##### Recording from mircrophone ```shell -- Gitblit v1.9.1