summaryrefslogtreecommitdiffstats
path: root/g4f/gui/client
diff options
context:
space:
mode:
Diffstat (limited to 'g4f/gui/client')
-rw-r--r--g4f/gui/client/static/js/chat.v1.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/gui/client/static/js/chat.v1.js b/g4f/gui/client/static/js/chat.v1.js
index 9194ad4f..4ba0cd93 100644
--- a/g4f/gui/client/static/js/chat.v1.js
+++ b/g4f/gui/client/static/js/chat.v1.js
@@ -1288,7 +1288,7 @@ if (SpeechRecognition) {
};
recognition.onresult = function(event) {
window.clearTimeout(timeoutHandle);
- timeoutHandle = window.setTimeout(may_stop, transcript ? 10000 : 8000);
+ timeoutHandle = window.setTimeout(may_stop, 8000);
if (!event.results) {
return;
}