khursani8 commited on
Commit
514ec1a
1 Parent(s): 81085dd
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ def infer(
99
  show_info=show_info,
100
  progress=gr.Progress(),
101
  )
102
- final_wave = final_wave[24000*0.3:]
103
 
104
  # Remove silence
105
  if remove_silence:
 
99
  show_info=show_info,
100
  progress=gr.Progress(),
101
  )
102
+ final_wave = final_wave[int(24000*0.3):]
103
 
104
  # Remove silence
105
  if remove_silence: