Every line of 'speech recognition pypi' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
47 def main(): 48 """Run all checks and print status.""" 49 if not os.path.exists(CREDENTIALS_PATH): 50 print( 51 """Please follow the Custom Voice User Interface instructions on the AIY website 52 to download credentials: 53 https://aiyprojects.withgoogle.com/voice-v1/#makers-guide-3-custom-voice-user-interface 54 and save them to""", CREDENTIALS_PATH) 55 return 56 57 if not check_credentials_valid(): 58 print( 59 CREDENTIALS_PATH, """is not valid, please check that you have downloaded JSON 60 service credentials.""") 61 return 62 63 if not check_speech_reco(): 64 print('Failed to test the Cloud Speech API. Please see error above.') 65 return 66 67 print("Everything is set up to use the Google Cloud.")