AiDeveloper1 commited on
Commit
f670c45
·
verified ·
1 Parent(s): 9fb81c9

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +1 -1
templates/index.html CHANGED
@@ -142,7 +142,7 @@
142
  };
143
 
144
  // Initialize speech synthesis
145
- const synth = null;
146
  // const synth = 'en-US';
147
  let voices = [];
148
 
 
142
  };
143
 
144
  // Initialize speech synthesis
145
+ const synth = window.speechSynthesis || null;
146
  // const synth = 'en-US';
147
  let voices = [];
148