title: why my speech recognition program is not working even after code is correct?
body: <p>I'm trying to make my own assistant like google assistant with python. My speech recognition program was working previously but after cleaning some junk files from the computer it is not working, it is stuck on "Speak:" and not converting speech into text, not even showing any error.</p>
  
  <p>I have installed pyaudio, speechrecognition.</p>
  
  <p>This is the code:</p>
  
  <pre><code>import speech_recognition as sr  
  
  r = sr.Recognizer()                                                                                   
  with sr.Microphone() as source:                                                                       
      print("Speak:")                                                                                   
      audio = r.listen(source)   
  try:
      print("You said " + r.recognize_google(audio))
  except sr.UnknownValueError:
      print("Could not understand audio")
  except sr.RequestError as e:
      print("Could not request results; {0}".format(e))
  </code></pre>