Spaces:
Running
on
Zero
Running
on
Zero
dfa
Browse files- staticfiles/aivtuber.js +1 -1
- staticfiles/index.html +2 -2
staticfiles/aivtuber.js
CHANGED
@@ -269,7 +269,7 @@ const handleNewLiveCommentIfNeeded = async () => {
|
|
269 |
}
|
270 |
|
271 |
const onClickSend = () => {
|
272 |
-
alert("start send ============================ ")
|
273 |
let utterance = document.querySelector("#utterance");
|
274 |
|
275 |
miiboAvatar.autoRecognizeMessage(utterance.value)
|
|
|
269 |
}
|
270 |
|
271 |
const onClickSend = () => {
|
272 |
+
//alert("start send ============================ ")
|
273 |
let utterance = document.querySelector("#utterance");
|
274 |
|
275 |
miiboAvatar.autoRecognizeMessage(utterance.value)
|
staticfiles/index.html
CHANGED
@@ -160,7 +160,7 @@ audioRecognize() {
|
|
160 |
// Chrome Only
|
161 |
autoRecognizeMessage(message) {
|
162 |
handleLiveComment("test",message)
|
163 |
-
alert("start word test")
|
164 |
this.rec.continuous = false
|
165 |
this.rec.interimResults = false
|
166 |
this.rec.lang = 'ja-JP'
|
@@ -195,7 +195,7 @@ autoRecognize() {
|
|
195 |
this.playLoadingVideo();
|
196 |
|
197 |
this.rec.stop()
|
198 |
-
alert("start")
|
199 |
|
200 |
for (var i = e.resultIndex; i < e.results.length; i++) {
|
201 |
if (!e.results[i].isFinal) continue
|
|
|
160 |
// Chrome Only
|
161 |
autoRecognizeMessage(message) {
|
162 |
handleLiveComment("test",message)
|
163 |
+
//alert("start word test")
|
164 |
this.rec.continuous = false
|
165 |
this.rec.interimResults = false
|
166 |
this.rec.lang = 'ja-JP'
|
|
|
195 |
this.playLoadingVideo();
|
196 |
|
197 |
this.rec.stop()
|
198 |
+
//alert("start")
|
199 |
|
200 |
for (var i = e.resultIndex; i < e.results.length; i++) {
|
201 |
if (!e.results[i].isFinal) continue
|