Spaces:
Sleeping
Sleeping
Update templates/index.html
#1
by
geethareddy
- opened
- templates/index.html +1 -3
templates/index.html
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
|
2 |
<!DOCTYPE html>
|
3 |
<html lang="en">
|
4 |
<head>
|
@@ -245,7 +244,7 @@
|
|
245 |
}
|
246 |
|
247 |
function confirmName() {
|
248 |
-
speak("You said " + nameCaptured + ". Is it
|
249 |
recognition.start();
|
250 |
recognition.onresult = function(event) {
|
251 |
let confirmation = event.results[0][0].transcript.trim().toLowerCase();
|
@@ -339,4 +338,3 @@
|
|
339 |
</script>
|
340 |
</body>
|
341 |
</html>
|
342 |
-
|
|
|
|
|
1 |
<!DOCTYPE html>
|
2 |
<html lang="en">
|
3 |
<head>
|
|
|
244 |
}
|
245 |
|
246 |
function confirmName() {
|
247 |
+
speak("You said " + nameCaptured + ". Is it correct?", function() {
|
248 |
recognition.start();
|
249 |
recognition.onresult = function(event) {
|
250 |
let confirmation = event.results[0][0].transcript.trim().toLowerCase();
|
|
|
338 |
</script>
|
339 |
</body>
|
340 |
</html>
|
|