Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using google cloud API with this code #4

Open
Jlingz opened this issue Jul 3, 2019 · 0 comments
Open

Using google cloud API with this code #4

Jlingz opened this issue Jul 3, 2019 · 0 comments

Comments

@Jlingz
Copy link

Jlingz commented Jul 3, 2019

Hey Randaller,

I'm trying to use the google cloud (GCP) api with this code. I have got the API key which allows me access to my paid GCP account. What line of code should I put instead of result = recognizer.recognize_google(audio_data, language=args.lang)

I have tried looking at the uberi code but the following line does not seem to work:

r.recognize_google_cloud(audio, credentials_json=GOOGLE_CLOUD_SPEECH_CREDENTIALS)

Any thoughts on how to use google cloud?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant