SHARE
TWEET

Untitled

a guest Jun 17th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Being to listen
  2. Exception in thread Thread-1:
  3. Traceback (most recent call last):
  4.   File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\threading.py", line 916, in _bootstrap_inner
  5.     self.run()
  6.   File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\threading.py", line 864, in run
  7.     self._target(*self._args, **self._kwargs)
  8.   File "C:\Users\Ionut\Desktop\TrinityProject\venv\lib\site-packages\speech_recognition\__init__.py", line 697, in threaded_listen
  9.     if running[0]: callback(self, audio)
  10.   File "C:/Users/Ionut/Desktop/TrinityProject/VoiceReco.py", line 55, in callback
  11.     print("You said " + r.recognize_google(audio))  # received audio data, now need to recognize it
  12.   File "C:\Users\Ionut\Desktop\TrinityProject\venv\lib\site-packages\speech_recognition\__init__.py", line 858, in recognize_google
  13.     if not isinstance(actual_result, dict) or len(actual_result.get("alternative", [])) == 0: raise UnknownValueError()
  14. speech_recognition.UnknownValueError
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top