Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +5 -4
templates/index.html
CHANGED
@@ -130,9 +130,10 @@
|
|
130 |
recognition.stop();
|
131 |
|
132 |
status.textContent = "Registration complete.";
|
133 |
-
|
134 |
-
|
135 |
-
|
|
|
136 |
};
|
137 |
}
|
138 |
|
@@ -143,7 +144,7 @@
|
|
143 |
}
|
144 |
|
145 |
window.onload = function () {
|
146 |
-
setTimeout(startProcess,
|
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>
|