summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-09-15 16:03:19 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2014-09-25 20:23:21 +0200
commitfa3497cc9619ef54249658fdc0b2f9cfe6f2173f (patch)
treee44d4a715deda71955f73f9eb68c5ea8b7bc70c2 /client
parent443d31b63f424915ac8e37546aaaaf9c30056b2b (diff)
downloadjasper-client-fa3497cc9619ef54249658fdc0b2f9cfe6f2173f.tar.gz
jasper-client-fa3497cc9619ef54249658fdc0b2f9cfe6f2173f.zip
Fix mode in AbstractSTTEngine
Diffstat (limited to 'client')
-rw-r--r--client/stt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/stt.py b/client/stt.py
index a6532e8..2157053 100644
--- a/client/stt.py
+++ b/client/stt.py
@@ -29,7 +29,7 @@ class AbstractSTTEngine(object):
return True
@abstractmethod
- def transcribe(self, audio_file_path, PERSONA_ONLY=False, MUSIC=False):
+ def transcribe(self, audio_file_path, mode=TranscriptionMode.NORMAL):
pass
class PocketSphinxSTT(AbstractSTTEngine):