mirror of
https://github.com/wassname/BitLit_test1.git
synced 2026-09-10 11:40:36 +08:00
working and using google cloud speech
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
# Run
|
||||
To run the program once installed
|
||||
>> python BitLit_decoder1.py HiBitLit.pmdl
|
||||
>> python BitLit_decoder.py HiBitLit.pmdl
|
||||
After sometimes you should say " HI BitLit" then wait till the poetbot speak to you..and enjoy the rest.. At the end you just need to say again " Hi BitLit" to a different vocal input for so that the poetbot can generate a new poem and the cycle can go days and weeks..
|
||||
WARNING::: Might be slow depending on your computer capabilities..
|
||||
|
||||
@@ -31,7 +31,7 @@ API Keys:
|
||||
- `cp secrets.template.json to secrets.json`
|
||||
- get an API key for google cloud
|
||||
- make a project or use an existing project
|
||||
- download a credentials json for that project
|
||||
- enable the speech recognition api https://console.cloud.google.com/apis/api/speech.googleapis.com/overview
|
||||
- put the credentials in `./secrets/google_cloud_credintials.json`
|
||||
- download a credentials json for that project (using edit, create key) https://console.cloud.google.com/apis/api/speech.googleapis.com/credentials
|
||||
- enable the speech recognition api for that project (make sure you've selected your project) https://console.cloud.google.com/apis/api/speech.googleapis.com/overview
|
||||
- place the credientials json at this path `./secrets/google_cloud_credintials.json`
|
||||
- never commit this file!
|
||||
|
||||
Reference in New Issue
Block a user