HoneyTian commited on
Commit
fb56f60
1 Parent(s): 45612e0
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -35,8 +35,8 @@ def process_uploaded_file(filename: str, silence_time: float = 0.3, longest_acti
35
 
36
  main_logger.info("do vad: {}".format(filename))
37
 
38
- cmd = "build/vad_go --filename {}".format(
39
- filename
40
  )
41
  vad_result = Command.popen(cmd)
42
 
 
35
 
36
  main_logger.info("do vad: {}".format(filename))
37
 
38
+ cmd = "build/vad_go --filename {} --silence_time {} --longest_activate {}".format(
39
+ filename, silence_time, longest_activate
40
  )
41
  vad_result = Command.popen(cmd)
42