Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

html5 docs

游雁20a666660380
diff --git a/docs/runtime/demo.gif b/docs/runtime/demo.gif
new file mode 100644
index 000000000..f487f2c66
Binary files /dev/null and b/docs/runtime/demo.gif differ
diff --git a/funasr/runtime/html5/readme.md b/funasr/runtime/html5/readme.md
index a1232163a..4601460e5 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 @@ usage: h5Server.py [-h] [--host HOST] [--port PORT] [--certfile CERTFILE] [--key
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 ac9502919..54d4c125e 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 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方式