diff options
| -rw-r--r-- | client/stt.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/stt.py b/client/stt.py index 5da0889..3b3b81d 100644 --- a/client/stt.py +++ b/client/stt.py @@ -124,6 +124,10 @@ class GoogleSTT(object): decoded = json.loads(response_read.split("\n")[1]) print response_read text = decoded['result'][0]['alternative'][0]['transcript'] + if text: + print "===================" + print "JASPER: " + text + print "===================" return text except Exception: traceback.print_exc() |
