Automactic Speech Recognition
https://github.com/pyenv-win/pyenv-win
Open PowerShell Create a new folder .pyenv in your user folder with the name .pyenv. You can do this using the Explorer or the following PowerShell command:
mkdir $HOME/.pyenvCopy the pyenv-win folder and the .version file from the GitHub folder into the newly created .pyenv folder in your user folder.
Set the environment variables PYENV and PYENV_HOME that point to the installation folder:
[System.Environment]::SetEnvironmentVariable('PYENV',$env:USERPROFILE + "\.pyenv\pyenv-win\","User")
[System.Environment]::SetEnvironmentVariable('PYENV_HOME',$env:USERPROFILE + "\.pyenv\pyenv-win\","User")Add the bin folder to the PATH variable. Such that pyenv can be found when using the command line.
[System.Environment]::SetEnvironmentVariable('path', $env:USERPROFILE + "\.pyenv\pyenv-win\bin;" + $env:USERPROFILE + "\.pyenv\pyenv-win\shims;" + [System.Environment]::GetEnvironmentVariable('path', "User"),"User")Close the current PowerShell.
If you havent enabled script execution yet, start a new PowerShell with admin privileges by right-clicking on the PowerShell icon in the start menu and choose Run as administrator.
Enter the following command into the PowerShell to enable the execution of scripts:
Set-ExecutionPolicy unrestrictedAnd press A to choose Yes to ALL. Afterward, you can close this PowerShell window and open a new one without admin privileges.
Now, you can run pyenv by entering:
pyenvIf you encounter a security warning from where you have to choose if you want to run pyenv you can disable this warning by “unblocking” the pyenv script with the following command:
Unblock-File $HOME/.pyenv/pyenv-win/bin/pyenv.ps1pyenv install -lpyenv install 3.14.0pyenv shell 3.14.0pyenv global 3.14.03.11.9
get-command pippython -m venv .venv.\.venv\Scripts\Activate.ps1code .
Open Command Pallet Ctrl Shit P
settings json
"python.terminal.activateEnvironment": true
restart vscode
pip install -r requirements.txt
Go to settings and expose Ollama to the network by enabling it.
gpt-oss:20b Open AI smallest model gemma3:1b Google smallest model
"model": "gemma3:1b", # Google snallest model "model": "gpt-oss:20b", # Open AI smallest model
Click on the main python file sar.py Hover over debug/run button on the left button pane and select show automatic python configuration. It will show a list and then select ASR.