Explorar el Código

enable input speech and "ready" tts

Martin hace 10 años
padre
commit
09ab59098f
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      voice_control/input_sources/__init__.py
  2. 1 1
      voice_control/services/__init__.py

+ 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)