From fa3497cc9619ef54249658fdc0b2f9cfe6f2173f Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 15 Sep 2014 16:03:19 +0200 Subject: Fix mode in AbstractSTTEngine --- client/stt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.3.1