kenken999 commited on
Commit
e841e68
·
1 Parent(s): 6a65897
Files changed (1) hide show
  1. staticfiles/livetest.html +7 -3
staticfiles/livetest.html CHANGED
@@ -554,13 +554,13 @@ async fetchWithRetries(url, options, retries = 1) {
554
 
555
  const onClickSends = () => {
556
  alert("start send ============================ ")
557
- let utterance = document.querySelector("#utterance");
558
- alert(utterance.value)
559
 
560
  miiboAvatar.autoRecognizeMessage(utterance.value)
561
  //handleLiveComment(utterance.value, '匿名');
562
  //onClickSend
563
- utterance.value = "";
564
  }
565
 
566
  </script>
@@ -583,6 +583,10 @@ async fetchWithRetries(url, options, retries = 1) {
583
  <input type="text" id="utterance" />
584
  <button id="sendButton" onclick="onClickSends();">送信</button>
585
  </div>
 
 
 
 
586
  </div>
587
  </body>
588
 
 
554
 
555
  const onClickSends = () => {
556
  alert("start send ============================ ")
557
+ let utterance = document.querySelector("#utterances");
558
+ alert(utterances.value)
559
 
560
  miiboAvatar.autoRecognizeMessage(utterance.value)
561
  //handleLiveComment(utterance.value, '匿名');
562
  //onClickSend
563
+ utterances.value = "";
564
  }
565
 
566
  </script>
 
583
  <input type="text" id="utterance" />
584
  <button id="sendButton" onclick="onClickSends();">送信</button>
585
  </div>
586
+ <div id="submit_forms">
587
+ <input type="text" id="utterances" />
588
+ <button id="sendButton" onclick="onClickSends();">送信</button>
589
+ </div>
590
  </div>
591
  </body>
592