Windows 10
Python 3.10
import os
import json
import pyaudio
import yaml
import subprocess
from vosk import Model, KaldiRecognizer
def load_commands():
with open(os.path.join('commands', '1', 'command.yaml'), 'r') as file:
commands = yaml.safe_load(file)
return commands
def...