Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jordimas committed Nov 29, 2024
1 parent 882337b commit eb32976
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions e2e-tests/testcmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,11 @@ def test_options_vad(self):
_file = "gossos"
cmd = (
f"cd {directory} && whisper-ctranslate2 {path}/{_file}.mp3 --device cpu --model medium --compute_type float32 --vad_filter True --vad_onset 0.5"
" --vad_min_speech_duration_ms 2000 --vad_max_speech_duration_s 50000 --output_dir {directory}"
f" --vad_min_speech_duration_ms 2000 --vad_max_speech_duration_s 50000 --output_dir {directory}"
)
os.system(cmd)
# print(f"command: {cmd}")
# os.system(cmd)
# os.system(f"ls -l {directory}")
self._check_ref_small(
f"{directory}", _file, "e2e-tests/ref-small-transcribe-vad", "no-option"
)
Expand Down

0 comments on commit eb32976

Please sign in to comment.