Spaces:
Runtime error
Runtime error
Update templates/index.html
Browse files- templates/index.html +1 -1
templates/index.html
CHANGED
|
@@ -98,7 +98,7 @@
|
|
| 98 |
recognition.start();
|
| 99 |
recognition.onend = function() {
|
| 100 |
let transcript = recognition.finalTranscript.trim();
|
| 101 |
-
transcript = transcript.replace(/\bat\b/g, '@').replace(/\bdot\b/g, '.');
|
| 102 |
document.getElementById('email').value = transcript;
|
| 103 |
speak("Registration complete. You can proceed with your order.");
|
| 104 |
};
|
|
|
|
| 98 |
recognition.start();
|
| 99 |
recognition.onend = function() {
|
| 100 |
let transcript = recognition.finalTranscript.trim();
|
| 101 |
+
transcript = transcript.replace(/\bat\b|\bat the rate\b/g, '@').replace(/\bdot\b/g, '.');
|
| 102 |
document.getElementById('email').value = transcript;
|
| 103 |
speak("Registration complete. You can proceed with your order.");
|
| 104 |
};
|