diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-07-11 09:38:42 -0700 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-07-11 09:38:42 -0700 |
| commit | 43eebc44166da07388a2e932d1234090fda957ec (patch) | |
| tree | d5cc1793a0b6269df71cce2b58ea099c60e4e455 /client/main.py | |
| parent | ea082f844a6748141aa61143421e4e9d0cc19bda (diff) | |
| parent | 8a5e5ed385a5c467260c2f1b20816a66cebfc1c6 (diff) | |
| download | jasper-client-43eebc44166da07388a2e932d1234090fda957ec.tar.gz jasper-client-43eebc44166da07388a2e932d1234090fda957ec.zip | |
Merge pull request #100 from astahlman/master
Platform independent audio output. Stop hardcoding /home/jasper.
Diffstat (limited to 'client/main.py')
| -rw-r--r-- | client/main.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/main.py b/client/main.py index 0b29c75..6ba3645 100644 --- a/client/main.py +++ b/client/main.py @@ -1,5 +1,6 @@ import yaml import sys +import speaker from conversation import Conversation @@ -20,7 +21,7 @@ if __name__ == "__main__": profile = yaml.safe_load(open("profile.yml", "r")) - mic = Mic("languagemodel.lm", "dictionary.dic", + mic = Mic(speaker.newSpeaker(), "languagemodel.lm", "dictionary.dic", "languagemodel_persona.lm", "dictionary_persona.dic") addendum = "" |
