Spaces:
Running
on
Zero
Running
on
Zero
test
Browse files
staticfiles/livetest.html
CHANGED
@@ -162,6 +162,7 @@ audioRecognize() {
|
|
162 |
autoRecognizeMessage(message) {
|
163 |
|
164 |
//handleLiveComment("test",message)
|
|
|
165 |
alert("start word test")
|
166 |
this.rec.continuous = false
|
167 |
this.rec.interimResults = false
|
@@ -170,8 +171,9 @@ autoRecognizeMessage(message) {
|
|
170 |
this.playLoadingVideo();
|
171 |
|
172 |
this.rec.stop()
|
173 |
-
alert("172
|
174 |
const { transcript } = message
|
|
|
175 |
this.ask(transcript);
|
176 |
//for (var i = e.resultIndex; i < e.results.length; i++) {
|
177 |
// if (!e.results[i].isFinal) continue
|
|
|
162 |
autoRecognizeMessage(message) {
|
163 |
|
164 |
//handleLiveComment("test",message)
|
165 |
+
//live2d
|
166 |
alert("start word test")
|
167 |
this.rec.continuous = false
|
168 |
this.rec.interimResults = false
|
|
|
171 |
this.playLoadingVideo();
|
172 |
|
173 |
this.rec.stop()
|
174 |
+
alert("172 start================================= "+message)
|
175 |
const { transcript } = message
|
176 |
+
alert("transcript"+transcript)
|
177 |
this.ask(transcript);
|
178 |
//for (var i = e.resultIndex; i < e.results.length; i++) {
|
179 |
// if (!e.results[i].isFinal) continue
|