Timothy J. Baek 7 tháng trước cách đây
mục cha
commit
3899405864
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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):