compare script

master
Bel LaPointe 2023-03-31 10:41:36 -06:00
parent 8fb600b24e
commit a6a29a647f
1 changed files with 7 additions and 1 deletions

View File

@ -1 +1,7 @@
m=models/ggml-tiny.en.bin; f=git.d/samples/jfk.wav; time MODEL=$m WAV=$f rust-whisper 2>&1 | tail; time ./c-whisper -m $m -f $f -t 4 2>&1 | tail export P=${1:-1}
export MODEL=${2:-models/ggml-tiny.en.bin}
export WAV=${3:-git.d/samples/jfk.wav}
echo === RUST
time rust-whisper 2>&1 | tail -n 4
echo === C
time ./c-whisper -m $MODEL -f $WAV -t $P 2>&1 | tail -n 4