From fae856e23d45fd27d5fd55fd036e8e3fc7b24915 Mon Sep 17 00:00:00 2001 From: 雾聪 <wucong.lyb@alibaba-inc.com> Date: 星期五, 02 六月 2023 23:00:08 +0800 Subject: [PATCH] update funasr-onnx-offline --- funasr/runtime/html5/readme_cn.md | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/funasr/runtime/html5/readme_cn.md b/funasr/runtime/html5/readme_cn.md index ac95029..73bf1b0 100644 --- a/funasr/runtime/html5/readme_cn.md +++ b/funasr/runtime/html5/readme_cn.md @@ -1,7 +1,14 @@ # Html5 server for asr service ## Requirement -### python +#### Install the modelscope and funasr +```shell +pip install -U modelscope funasr +# For the users in China, you could install with the command: +# pip install -U modelscope funasr -i https://mirror.sjtu.edu.cn/pypi/web/simple +git clone https://github.com/alibaba/FunASR.git && cd FunASR +``` +#### Install the requirements for server ```shell pip install flask # pip install gevent (Optional) @@ -31,17 +38,18 @@ ``` 渚嬪瓙濡備笅锛岄渶瑕佹敞鎰廼p鍦板潃锛屽鏋滀粠鍏朵粬璁惧璁块棶闇�姹傦紙渚嬪鎵嬫満绔級锛岄渶瑕佸皢ip鍦板潃璁句负鐪熷疄ip ```shell +cd funasr/runtime/html5 python h5Server.py --host 0.0.0.0 --port 1337 # python h5Server.py --host 30.220.136.139 --port 1337 ``` ### 鍚姩ASR鏈嶅姟 -[鍏蜂綋璇风湅online asr](../python/websocket) +[鍏蜂綋璇风湅online asr](https://github.com/alibaba-damo-academy/FunASR/tree/main/funasr/runtime/python/websocket) `Tips:` asr 鏈嶅姟闇�瑕佷笌html5鏈嶅姟閮ㄧ讲鍒板悓涓�涓墿鐞嗘満鍣ㄤ笂 #### wss鏂瑰紡 ```shell cd ../python/websocket -python ws_server_online.py --port 1095 +python wss_srv_asr.py --port 1095 ``` ### 娴忚鍣ㄦ墦寮�鍦板潃 -- Gitblit v1.9.1