From 3974aea5320d4c11fbb9214bba9e1b26bbdec3d0 Mon Sep 17 00:00:00 2001 From: schneefux Date: Fri, 2 Jan 2015 13:34:25 +0100 Subject: Use latest wit.ai API version in STT engine --- client/stt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/stt.py') 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: -- cgit v1.3.1