From 369f2ff8838569351c26d909407b497ab16d3bcf Mon Sep 17 00:00:00 2001 From: zhaomingwork <61895407+zhaomingwork@users.noreply.github.com> Date: 星期二, 20 六月 2023 11:08:50 +0800 Subject: [PATCH] add html5 local access asr service directly (#654) --- funasr/runtime/html5/readme.md | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/funasr/runtime/html5/readme.md b/funasr/runtime/html5/readme.md index 1e9031e..0c1eba0 100644 --- a/funasr/runtime/html5/readme.md +++ b/funasr/runtime/html5/readme.md @@ -51,8 +51,18 @@ # https://30.220.136.139:1337/static/index.html ``` -### modify asr address in html according to your environment -asr address in index.html must be wss +### open browser to open html5 file directly without h5Server +you can run html5 client by just clicking the index.html file directly in your computer. +1) lauch asr service without ssl, it must be in ws mode as ssl protocol will prohibit such access. +2) copy whole directory /funasr/runtime/html5/static to your computer +3) open /funasr/runtime/html5/static/index.html by browser +4) enter asr service ws address and connect + + +```shell + +``` + ## Acknowledge -- Gitblit v1.9.1