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