Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +6 -1
templates/index.html
CHANGED
@@ -46,7 +46,7 @@
|
|
46 |
};
|
47 |
|
48 |
mediaRecorder.start();
|
49 |
-
setTimeout(() => mediaRecorder.stop(), 5000); // Reduced to 5 seconds for
|
50 |
});
|
51 |
}
|
52 |
|
@@ -91,6 +91,11 @@
|
|
91 |
await playAudio('{{ url_for("static", filename="thank_you.mp3") }}');
|
92 |
|
93 |
status.textContent = 'Registration complete.';
|
|
|
|
|
|
|
|
|
|
|
94 |
}
|
95 |
|
96 |
window.onload = startInteraction;
|
|
|
46 |
};
|
47 |
|
48 |
mediaRecorder.start();
|
49 |
+
setTimeout(() => mediaRecorder.stop(), 5000); // Reduced to 5 seconds for quicker interaction
|
50 |
});
|
51 |
}
|
52 |
|
|
|
91 |
await playAudio('{{ url_for("static", filename="thank_you.mp3") }}');
|
92 |
|
93 |
status.textContent = 'Registration complete.';
|
94 |
+
|
95 |
+
// Auto refresh the page after 15 seconds
|
96 |
+
setTimeout(() => {
|
97 |
+
location.reload();
|
98 |
+
}, 15000); // 15 seconds
|
99 |
}
|
100 |
|
101 |
window.onload = startInteraction;
|