I am planning to do a VA for myself. I have tried this code.
import speech_recognition as sr listener = sr.Recognizer() with sr.Microphone() as source: