main.py records from your microphone (need to set up sound device right which can do with find_audio_devices.py) main2.py looks at wav files with a certain format on a folder and keeps goings thru them as long as there's new ones.
To install
sudo apt-get install build-essential -y
sudo apt-get install python3-dev
sudo apt-get install python3-pip
pip3 install -r requirements.txt