summary refs log tree commit diff
path: root/recognizer.py
diff options
context:
space:
mode:
Diffstat (limited to 'recognizer.py')
-rwxr-xr-xrecognizer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/recognizer.py b/recognizer.py
index bb35480..0a65b7a 100755
--- a/recognizer.py
+++ b/recognizer.py
@@ -29,9 +29,9 @@ class Recognizer(GObject.GObject):
             audio_src = 'autoaudiosrc'
 
         # Build the pipeline
-        cmd = audio_src+' ! audioconvert ! audioresample ! pocketsphinx name=asr ! appsink sync=false'
+        cmd = audio_src + ' ! audioconvert ! audioresample ! pocketsphinx name=asr ! appsink sync=false'
         try:
-            self.pipeline=Gst.parse_launch( cmd )
+            self.pipeline = Gst.parse_launch( cmd )
         except Exception as e:
             print(e.message)
             print("You may need to install gstreamer1.0-pocketsphinx")