kenken999 commited on
Commit
5a5d53b
·
1 Parent(s): 2f3add2
Files changed (1) hide show
  1. staticfiles/index.html +5 -5
staticfiles/index.html CHANGED
@@ -163,9 +163,7 @@ autoRecognizeMessage(message) {
163
  this.rec.continuous = false
164
  this.rec.interimResults = false
165
  this.rec.lang = 'ja-JP'
166
-
167
- this.rec.onresult = (e) => {
168
- this.processing = true
169
  this.playLoadingVideo();
170
 
171
  this.rec.stop()
@@ -177,8 +175,10 @@ autoRecognizeMessage(message) {
177
  //
178
  // const { transcript } = e.results[i][0]
179
  // this.ask(transcript);
180
- //}
181
- }
 
 
182
 
183
  this.rec.onend = () => { this.autoRecognizeRestart() }
184
  this.rec.start()
 
163
  this.rec.continuous = false
164
  this.rec.interimResults = false
165
  this.rec.lang = 'ja-JP'
166
+ this.processing = true
 
 
167
  this.playLoadingVideo();
168
 
169
  this.rec.stop()
 
175
  //
176
  // const { transcript } = e.results[i][0]
177
  // this.ask(transcript);
178
+ //}
179
+ //this.rec.onresult = (e) => {
180
+
181
+ //}
182
 
183
  this.rec.onend = () => { this.autoRecognizeRestart() }
184
  this.rec.start()