I was making my personal assistant speech_recognition is working properly with headphones but without headphones on internal mic it is not recognising the voice.
Code:
with sr.Microphone() as source:
print("Listening...")
speak("Listening...")
r.pause_threshold = 1
audio = r.listen(source)
OS: Ventura 13.4 (M1)