From 20a66666038026ae4ab0a03baf4ed2d4abef0a3a Mon Sep 17 00:00:00 2001 From: 游雁 <zhifu.gzf@alibaba-inc.com> Date: 星期三, 24 五月 2023 17:01:56 +0800 Subject: [PATCH] html5 docs --- docs/runtime/demo.gif | 0 funasr/runtime/html5/readme.md | 11 +++++++++-- funasr/runtime/html5/readme_cn.md | 11 +++++++++-- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/docs/runtime/demo.gif b/docs/runtime/demo.gif new file mode 100644 index 0000000..f487f2c --- /dev/null +++ b/docs/runtime/demo.gif Binary files differ diff --git a/funasr/runtime/html5/readme.md b/funasr/runtime/html5/readme.md index a123216..4601460 100644 --- a/funasr/runtime/html5/readme.md +++ b/funasr/runtime/html5/readme.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) @@ -28,7 +35,7 @@ python h5Server.py --host 0.0.0.0 --port 1337 ``` ### asr service -[detail for asr]((../python/websocket)) +[detail for asr](https://github.com/alibaba-damo-academy/FunASR/tree/main/funasr/runtime/python/websocket) `Tips:` asr service and html5 service should be deployed on the same device. ```shell diff --git a/funasr/runtime/html5/readme_cn.md b/funasr/runtime/html5/readme_cn.md index ac95029..54d4c12 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) @@ -35,7 +42,7 @@ # 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鏂瑰紡 -- Gitblit v1.9.1