mirror of
https://github.com/mozilla/DeepSpeech.git
synced 2025-10-26 11:19:39 +00:00
21 lines
417 B
Bash
Executable File
21 lines
417 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -xe
|
|
|
|
THIS=$(dirname "$0")
|
|
|
|
pushd ${THIS}
|
|
source ../tests.sh
|
|
|
|
pip install --user $(get_python_wheel_url "$1")
|
|
pip install --user -r requirements.txt
|
|
|
|
pulseaudio &
|
|
|
|
python mic_vad_streaming.py \
|
|
--model $HOME/DeepSpeech/models/output_graph.pbmm \
|
|
--lm $HOME/DeepSpeech/models/lm.binary \
|
|
--trie $HOME/DeepSpeech/models/trie \
|
|
--file $HOME/DeepSpeech/audio/2830-3980-0043.wav
|
|
popd
|