This video tutorials how to install and run whisper-real-time with Argos translate for realtime, offline audio tts translation using Anaconda.
Whisper real-time and Argos translate also work on Win and Mac but the tool 'inotifywait' is used for communication from one program to the other and is Linux specific. There are equivalent tools in those other operating systems but are not covered here. This is a work in progress.
-Install dependencies
Anaconda3
portaudio19-dev
ffmpeg
setuptools-rust
inotify-tools
-clone
github.com/autotunafish/offline_sst
-conda env
conda create -n name-me python=3.9
conda activate name-me
-build
cd offline_sst
pip install -r requirements.txt
-check run
python transcribe_demo.py --model tiny
-ctrl-C to stop
-In a new terminal, Home, base env
pip install argostranslate
argospm update
argospm install translate
-Add executable permissions to the scripts
-Adjust the filepaths
-in Home, base, run the script
./espres_o
-in name-me, run
python transcribe_demo.py --model tiny 2+&1 | tee -a testing.txt
-NOTE: REPLACE THE + IN THE COMMAND WITH A FORWARD ANGLE BRACKET (ARROW POINTING RIGHT)
Ещё видео!