lokesh341 commited on
Commit
e6f4c89
·
verified ·
1 Parent(s): 1a8cd91

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +1 -20
templates/index.html CHANGED
@@ -122,23 +122,4 @@
122
  emailInput.value = transcript;
123
  status.textContent = 'Registration complete.';
124
 
125
- // After registration is complete, refresh page automatically after 15 seconds
126
- setTimeout(() => location.reload(), 15000); // Refresh after 15 seconds
127
- }
128
- }
129
- };
130
-
131
- recognition.onerror = function(event) {
132
- console.error('Speech recognition error:', event.error);
133
- status.textContent = 'Error recognizing speech. Please try again.';
134
- };
135
- }
136
-
137
- // Make sure to start listening as soon as the page loads
138
- window.onload = function () {
139
- welcomeMessage(); // Automatically say the welcome message
140
- setTimeout(startListening, 5000); // Start listening after the welcome message
141
- };
142
- </script>
143
- </body>
144
- </html>
 
122
  emailInput.value = transcript;
123
  status.textContent = 'Registration complete.';
124
 
125
+ // After registration is complete, refresh page automatically after 15 se