From 4e0284534d599fae4d61225e47a7057d7970ce2e Mon Sep 17 00:00:00 2001
From: wucong.lyb <wucong.lyb@alibaba-inc.com>
Date: 星期四, 18 五月 2023 10:23:38 +0800
Subject: [PATCH] add cpp_onnx vad+asr+punc benchmark

---
 funasr/runtime/html5/static/main.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/funasr/runtime/html5/static/main.js b/funasr/runtime/html5/static/main.js
index 7066582..5f6bb10 100644
--- a/funasr/runtime/html5/static/main.js
+++ b/funasr/runtime/html5/static/main.js
@@ -59,6 +59,7 @@
 	} else if ( connState === 2 ) {
 		stop();
 		console.log( 'connecttion error' );
+		setTimeout(function(){btnStart.disabled = true;info_div.innerHTML='connecttion error';}, 4000 );
 	}
 }
 

--
Gitblit v1.9.1