Эх сурвалжийг харах

enable input speech and "ready" tts

Martin 10 жил өмнө
parent
commit
09ab59098f

+ 1 - 1
voice_control/input_sources/__init__.py

@@ -31,7 +31,7 @@ def launch_input_sources():
 
     services = [
         console.ConsoleInput(_TOKEN_STREAM),
-        #google_cloud_speech.GoogleCloudSpeech(_TOKEN_STREAM),
+        google_cloud_speech.GoogleCloudSpeech(_TOKEN_STREAM),
     ]
 
     for s in services:

+ 1 - 1
voice_control/services/__init__.py

@@ -27,7 +27,7 @@ def launch_services(interrupted):
             t = threading.Thread(target=s.init)
             t.start()
 
-    output.text('Ready.')
+    output.tts('Ready.')
 
     while not interrupted():
         t = input_sources.get_token(1)