wit-ai / pywit

Python library for Wit.ai
Other
1.45k stars 359 forks source link

Speech - error 400 #103

Closed GorlikItsMe closed 6 years ago

GorlikItsMe commented 6 years ago

This example don't work https://github.com/wit-ai/pywit#speech please fix it or delete this repository. If something does not work better, delete it.

pi@raspberrypi:~/asist $ python run.py
Traceback (most recent call last):
  File "run.py", line 104, in <module>
    resp = client.speech(f, None, None)
  File "/home/pi/.local/lib/python2.7/site-packages/wit/wit.py", line 102, in speech
    data=audio_file, headers=headers)
  File "/home/pi/.local/lib/python2.7/site-packages/wit/wit.py", line 41, in req
    ' (' + rsp.reason + ')')
wit.wit.WitError: Wit responded with status: 400 (Bad Request)
blandinw commented 6 years ago