This commit is contained in:
Timothy J. Baek committed 2024-09-30 00:39:30 +02:00
1 parent 209828c7c3
commit 3899405864
1 file changed
+1 -1
+1 -1
View File
@@ -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):