Spaces:
Sleeping
Sleeping
update
Browse files
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 |
|