Every time I run the code it just pauses on 'Listening...' and I have no clue why. Any idea why it does this?
import speech_recognition as sr
r = sr.Recognizer()
with sr.Microphone() as source:
print('Listening...')
audio = r.listen(source)
try:
text = r.recognize_google(audio)
print('You said : {}'.format(text) )
except:
print('Sorry i did not catch that')