-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
I cannot figure out how to set the GOOGLE_APPLICATION_CREDENTIALS
on Windows 10.
The documentation is pretty sparse.
I have Node setup OK, and cloned this repo.
I get the following error when running the command node recognize "resources/quit.raw"
Got audio file!
Loading speech service...
{ [Error: Google Cloud Speech API has not been used in project google.com:cloudsdktool before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/speech.googleapis.com/overview?project=google.com:cloudsdktool then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.]
code: 403,
errors:
[ { message: 'Google Cloud Speech API has not been used in project google.com:cloudsdktool before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/speech.googleapis.com/overview?project=google.com:cloudsdktool then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.',
domain: 'global',
reason: 'forbidden' } ] }
Why is it looking at the wrong project?
How do I set it to look at my project (I have a google project with speech api enabled)