Timothy J. Baek 7 月之前
父节点
当前提交
3899405864
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      backend/open_webui/apps/audio/main.py

+ 1 - 1
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):