Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- 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 |
|