Spaces:
Sleeping
Sleeping
beweinreich
commited on
Commit
•
83028a7
1
Parent(s):
38acb72
stronger silence
Browse files- audio_analyzer.py +1 -1
audio_analyzer.py
CHANGED
@@ -77,7 +77,7 @@ class AudioAnalyzer:
|
|
77 |
chunk = audio[i:i + chunk_size]
|
78 |
|
79 |
# Split on silence in the current chunk
|
80 |
-
chunks = split_on_silence(chunk, min_silence_len=1000, silence_thresh=-
|
81 |
|
82 |
# Combine chunks back together
|
83 |
for chunk in chunks:
|
|
|
77 |
chunk = audio[i:i + chunk_size]
|
78 |
|
79 |
# Split on silence in the current chunk
|
80 |
+
chunks = split_on_silence(chunk, min_silence_len=1000, silence_thresh=-34)
|
81 |
|
82 |
# Combine chunks back together
|
83 |
for chunk in chunks:
|