Simple Voice Assistant made as an experiment using Silero & Vosk.
Later on Picovoice Porcupine Wake Word Detection
The code has NOT been polished and is provided "as is". There are a lot of code that are redundant and there are tons of improvements that can be made.
First, install the requirements, the requirements.txt
file is just an output of pip freeze
from my test venv 'k.
Second, check config.py
and set required values (api key, device index).
Next, run the main.py
script and VoilĂ , as simple as that.
And don't forget to put models of Vosk to main folder.
You can get the latest from the official website.
The one I was using is small
.
p.s. If you don't understand how to install or where to put the Vosk model, I've made a screenshot for you.
I was using Python 3.10.1
, but it should work on any newer version.
(2022) Abraham Tugalov, YarBurArt