Skip to content

Instantly share code, notes, and snippets.

@hitherejoe hitherejoe/voice_query.ph Secret
Last active Feb 10, 2019

Embed
What would you like to do?
client = CloudSpeechClient()
self.usingMicrophone = True
while self.usingMicrophone:
text = client.recognize(language_code='en-US')
if (text is not None and text != ""):
self.detect_intent_texts(sess, text, 'en-US')
if text is None:
self.usingMicrophone = False
continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.