From 594b79f59e7eefa6955c729f6264c8c99d1d9571 Mon Sep 17 00:00:00 2001 From: hnluo <haoneng.lhn@alibaba-inc.com> Date: 星期一, 05 六月 2023 16:46:15 +0800 Subject: [PATCH] Merge pull request #591 from alibaba-damo-academy/dev_lhn --- funasr/runtime/html5/readme.md | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/funasr/runtime/html5/readme.md b/funasr/runtime/html5/readme.md index a123216..930aa88 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) @@ -25,15 +32,16 @@ ``` `e.g.` ```shell +cd funasr/runtime/html5 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 cd ../python/websocket -python ws_server_online.py --port 1095 +python wss_srv_asr.py --port 1095 ``` -- Gitblit v1.9.1