diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2015-01-02 13:34:25 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2015-01-02 13:34:25 +0100 |
| commit | 3974aea5320d4c11fbb9214bba9e1b26bbdec3d0 (patch) | |
| tree | 416ec531debf704afa4a8e6e307f63a901d783c9 /client/stt.py | |
| parent | 01ac5aa11b07b418b60caa1443e4b87a006d71fd (diff) | |
| download | jasper-client-3974aea5320d4c11fbb9214bba9e1b26bbdec3d0.tar.gz jasper-client-3974aea5320d4c11fbb9214bba9e1b26bbdec3d0.zip | |
Use latest wit.ai API version in STT engine
Diffstat (limited to 'client/stt.py')
| -rw-r--r-- | client/stt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/stt.py b/client/stt.py index 9277cb6..5c2faeb 100644 --- a/client/stt.py +++ b/client/stt.py @@ -457,7 +457,7 @@ class WitAiSTT(AbstractSTTEngine): headers = {'Authorization': 'Bearer %s' % self.token, 'accept': 'application/json', 'Content-Type': 'audio/wav'} - r = requests.post('https://api.wit.ai/speech?v=20140916', + r = requests.post('https://api.wit.ai/speech?v=20150101', data=data, headers=headers) try: |
