Timothy J. Baek hai 7 meses
pai
achega
3899405864
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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):