lokesh341 commited on
Commit
2097e32
·
verified ·
1 Parent(s): 072c36c

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +5 -4
templates/index.html CHANGED
@@ -130,9 +130,10 @@
130
  recognition.stop();
131
 
132
  status.textContent = "Registration complete.";
133
-
134
- // Refresh after 15 seconds
135
- setTimeout(() => location.reload(), 15000);
 
136
  };
137
  }
138
 
@@ -143,7 +144,7 @@
143
  }
144
 
145
  window.onload = function () {
146
- setTimeout(startProcess, 1000); // Start process after 1 second
147
  };
148
  </script>
149
  </body>
 
130
  recognition.stop();
131
 
132
  status.textContent = "Registration complete.";
133
+ speak("Registration complete.");
134
+
135
+ // Refresh after 20 seconds
136
+ setTimeout(() => location.reload(), 20000);
137
  };
138
  }
139
 
 
144
  }
145
 
146
  window.onload = function () {
147
+ setTimeout(startProcess, 5000); // Start process after 5 second
148
  };
149
  </script>
150
  </body>