Skip to content

Commit 8b1eb6c

Browse files
committed
docs: add comment for making livedemo.py work without install
1 parent 870f538 commit 8b1eb6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gst/livedemo.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ def init_gui(self):
5050
def init_gst(self):
5151
"""Initialize the speech components"""
5252
self.pipeline = gst.parse_launch('autoaudiosrc ! audioconvert ! audioresample '
53-
+ '! pocketsphinx ! fakesink')
53+
'! pocketsphinx ! fakesink')
54+
# '! pocketsphinx hmm=../model/en-us/en-us lm=../model/en-us/en-us.lm.bin dict=../model/en-us/cmudict-en-us.dict ! fakesink')
5455
bus = self.pipeline.get_bus()
5556
bus.add_signal_watch()
5657
bus.connect('message::element', self.element_message)

0 commit comments

Comments
 (0)