diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-07-26 16:44:12 -0700 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-07-26 16:44:12 -0700 |
| commit | 50057bec57447247846d615865fe225ffc814771 (patch) | |
| tree | 4c6006e407024cf159c511fd03cb883fbbd4c4f1 /client/stt.py | |
| parent | 78389f252a021d642a7a0146b658f0465da6e264 (diff) | |
| download | jasper-client-50057bec57447247846d615865fe225ffc814771.tar.gz jasper-client-50057bec57447247846d615865fe225ffc814771.zip | |
Cleanup before pull request.
Diffstat (limited to 'client/stt.py')
| -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() |
