summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-13 21:22:30 +0200
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-13 21:22:30 +0200
commit97d34592d51f29a44c56ad8c1d54c64a5aff6fac (patch)
tree32639a53d5233b7e6686dc0f27d3beed9db6f3e5
parentFix SpeechRecognition on Phone (diff)
downloadgpt4free-97d34592d51f29a44c56ad8c1d54c64a5aff6fac.tar
gpt4free-97d34592d51f29a44c56ad8c1d54c64a5aff6fac.tar.gz
gpt4free-97d34592d51f29a44c56ad8c1d54c64a5aff6fac.tar.bz2
gpt4free-97d34592d51f29a44c56ad8c1d54c64a5aff6fac.tar.lz
gpt4free-97d34592d51f29a44c56ad8c1d54c64a5aff6fac.tar.xz
gpt4free-97d34592d51f29a44c56ad8c1d54c64a5aff6fac.tar.zst
gpt4free-97d34592d51f29a44c56ad8c1d54c64a5aff6fac.zip
-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;
}