hnluo
2023-06-26 ee9b9fefb61adb79f7f6019debbd10cdc8189ee3
funasr/runtime/html5/static/index.html
@@ -21,14 +21,35 @@
            <br>
            <input id="wssip" type="text" style=" width: 100%;height:100%" value="wss://127.0.0.1:10095/"/>
            <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 style="border:2px solid #ccc;">
             <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>
      <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>
            
@@ -36,6 +57,7 @@
            <br>
                <div id="info_div">请点击开始</div>
            <div class="div_class_buttons">
               <button id="btnConnect">连接</button>
               <button id="btnStart">开始</button>
               <button id="btnStop">停止</button>