From 3899405864d0dd0de227734a4cb9cd1709ed817e Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Mon, 30 Sep 2024 00:39:30 +0200 Subject: [PATCH] refac --- backend/open_webui/apps/audio/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/apps/audio/main.py b/backend/open_webui/apps/audio/main.py index 1cad5f4c7..486f63f93 100644 --- a/backend/open_webui/apps/audio/main.py +++ b/backend/open_webui/apps/audio/main.py @@ -494,7 +494,7 @@ def transcription( os.path.getsize(file_path) > MAX_FILE_SIZE ): # Still larger than 25MB after compression chunks = split_on_silence( - audio, min_silence_len=500, silence_thresh=-40 + audio, min_silence_len=1000, silence_thresh=-40 ) texts = [] for i, chunk in enumerate(chunks):