HuggingFace-SK commited on
Commit
17f37f2
·
1 Parent(s): 95ef0b2

initiate word_list before detection

Browse files
Files changed (1) hide show
  1. templates/browser-detect.html +2 -2
templates/browser-detect.html CHANGED
@@ -313,7 +313,7 @@
313
  const pitchInput = document.getElementById('pitch');
314
  const rateValue = document.getElementById('rateValue');
315
  const pitchValue = document.getElementById('pitchValue');
316
-
317
  let voices = [];
318
 
319
  const languageNames = {
@@ -641,7 +641,7 @@
641
  console.log("Text to speech is now not supported")
642
  }
643
  }
644
- var word_list = []
645
 
646
 
647
  function set_output_array(text) {
 
313
  const pitchInput = document.getElementById('pitch');
314
  const rateValue = document.getElementById('rateValue');
315
  const pitchValue = document.getElementById('pitchValue');
316
+ var wordlist=[]
317
  let voices = [];
318
 
319
  const languageNames = {
 
641
  console.log("Text to speech is now not supported")
642
  }
643
  }
644
+ word_list = []
645
 
646
 
647
  function set_output_array(text) {