HoneyTian commited on
Commit
a3ce3cf
·
1 Parent(s): 5b04086
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -34,7 +34,7 @@ def process_uploaded_file(vad_engine: str, filename: str, silence_time: float =
34
  if vad_engine == "nx_vad":
35
  return run_nx_vad(filename, silence_time, longest_activate)
36
  elif vad_engine == "silero-vad":
37
- return "silero-vad"
38
  else:
39
  return f"vad engine invalid: {vad_engine}"
40
 
 
34
  if vad_engine == "nx_vad":
35
  return run_nx_vad(filename, silence_time, longest_activate)
36
  elif vad_engine == "silero-vad":
37
+ return run_silero_vad(filename, silence_time, longest_activate)
38
  else:
39
  return f"vad engine invalid: {vad_engine}"
40