Staticaliza commited on
Commit
992ce8c
·
verified ·
1 Parent(s): cb1604b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ footer {
65
  '''
66
 
67
  # Functions
68
- def trim_silence(audio, threshold=0.001):
69
  abs_audio = np.abs(audio)
70
  indices = np.where(abs_audio > threshold)[0]
71
 
 
65
  '''
66
 
67
  # Functions
68
+ def trim_silence(audio, threshold=0.1):
69
  abs_audio = np.abs(audio)
70
  indices = np.where(abs_audio > threshold)[0]
71