Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +1 -0
templates/index.html
CHANGED
@@ -198,6 +198,7 @@
|
|
198 |
let confirmation = event.results[0][0].transcript.trim().toLowerCase();
|
199 |
recognition.stop();
|
200 |
if (confirmation.includes("ok") || confirmation.includes("yes")) {
|
|
|
201 |
startListeningForMobileLogin(); // Move to mobile number
|
202 |
} else {
|
203 |
speak("Let's try again. Please tell your email.", startListeningForLogin);
|
|
|
198 |
let confirmation = event.results[0][0].transcript.trim().toLowerCase();
|
199 |
recognition.stop();
|
200 |
if (confirmation.includes("ok") || confirmation.includes("yes")) {
|
201 |
+
setTimeout(() => speak("Great! Now, tell me your mobile number.", startListeningForMobile), 500);
|
202 |
startListeningForMobileLogin(); // Move to mobile number
|
203 |
} else {
|
204 |
speak("Let's try again. Please tell your email.", startListeningForLogin);
|