From c2e4e3c2e9be855277d9f4fa9cd0544892ff829a Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期三, 30 八月 2023 09:57:30 +0800
Subject: [PATCH] Merge branch 'main' of github.com:alibaba-damo-academy/FunASR add

---
 funasr/runtime/html5/static/index.html |   43 ++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 40 insertions(+), 3 deletions(-)

diff --git a/funasr/runtime/html5/static/index.html b/funasr/runtime/html5/static/index.html
index c0aae05..27be908 100644
--- a/funasr/runtime/html5/static/index.html
+++ b/funasr/runtime/html5/static/index.html
@@ -13,15 +13,51 @@
 
 		 
 
-        <h1>FunAsr H5 Demo</h1>
+        <h1>FunASR Demo</h1>
+						<h3>杩欓噷鏄疐unASR寮�婧愰」鐩綋楠宒emo锛岄泦鎴愪簡VAD銆丄SR涓庢爣鐐圭瓑宸ヤ笟绾у埆鐨勬ā鍨嬶紝鏀寔闀块煶棰戠绾挎枃浠惰浆鍐欙紝瀹炴椂璇煶璇嗗埆绛夛紝寮�婧愰」鐩湴鍧�锛歨ttps://github.com/alibaba-damo-academy/FunASR</h3>
+
 		<div class="div_class_topArea">
-            
+
 			<div class="div_class_recordControl">
 				asr鏈嶅姟鍣ㄥ湴鍧�(蹇呭~):
 				<br>
-				<input id="wssip" type="text" style=" width: 100%;height:100%" value="wss://127.0.0.1:5921/"/>
+				<input id="wssip" type="text" onchange="addresschange()" style=" width: 100%;height:100%" value="wss://127.0.0.1:10095/"/>
 				<br>
+				<a id="wsslink"  href="#" onclick="window.open('https://127.0.0.1:10095/', '_blank')"><div id="info_wslink">鐐规澶勬墜宸ユ巿鏉僿ss://127.0.0.1:10095/</div></a>
 				<br>
+			<br>  
+			<div  style="border:2px solid #ccc;">
+				閫夋嫨褰曢煶妯″紡:<br/>
+    
+        <label><input name="recoder_mode" onclick="on_recoder_mode_change()" type="radio" value="mic" checked="true"/>楹﹀厠椋� </label>&nbsp;&nbsp;
+        <label><input name="recoder_mode" onclick="on_recoder_mode_change()" type="radio" value="file" />鏂囦欢 </label> 
+
+				</div>
+				
+				<br>
+				 <div id="mic_mode_div" style="border:2px solid #ccc;display:block;">
+				閫夋嫨asr妯″瀷妯″紡:<br/>
+    
+      <label><input name="asr_mode" type="radio" value="2pass" checked="true"/>2pass </label>&nbsp;&nbsp;
+      <label><input name="asr_mode" type="radio" value="online" />online </label>&nbsp;&nbsp;
+      <label><input name="asr_mode" type="radio" value="offline" />offline </label>
+
+				</div>
+				
+				<div id="rec_mode_div" style="border:2px solid #ccc;display:none;">
+		 
+    
+		          <input type="file" id="upfile">
+
+				</div>
+				<br>
+		
+				鐑瘝璁剧疆(绌烘牸闅斿紑,濡�"闃块噷宸村反 杈炬懇闄� 闃块噷浜�")锛�
+				<br>
+				
+				<input  type="text"  id="varHot"  style=" width: 100%;height:100%" /> 
+				<br>
+			 
 				璇煶璇嗗埆缁撴灉鏄剧ず锛�
 				<br>
 				
@@ -29,6 +65,7 @@
 				<br>
                 <div id="info_div">璇风偣鍑诲紑濮�</div>
 				<div class="div_class_buttons">
+					<button id="btnConnect">杩炴帴</button>
 					<button id="btnStart">寮�濮�</button>
 					<button id="btnStop">鍋滄</button>
  

--
Gitblit v1.9.1