Skip to content
ahabraPublic

About

Speech Synthesis and Recognition Using Browser

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

24 Commits

Folders and files

Repository files navigation

Speech Synthesis and Recognition Using Browser

  • Author: Abdul Habra
  • 2023-09-13

Run locally

  • Prerequisite: install Caddy server to run localhost: https://caddyserver.com/
  • At terminal run caddy run
  • When done, at terminal do Ctrl-C
  • To update Google Translate access token, run ./update-key.sh

Techincal Resources

Demos

Google Translate

Some useful GC commands:

gcloud --help
gcloud topic --help
gcloud cheat-sheet

# print my GC access token
gcloud auth print-access-token

# Get project info
curl -X GET -H "Authorization: Bearer $(gcloud auth print-access-token)" "https://cloudresourcemanager.googleapis.com/v3/projects/${PROJECT_ID}"

# translate text from request.json
curl -X POST \
    -H "Authorization: Bearer $(gcloud auth print-access-token)" \
    -H "x-goog-user-project: ${PROJECT_ID}" \
    -H "Content-Type: application/json; charset=utf-8" \
    -d @request.json \
    "https://translation.googleapis.com/language/translate/v2"

About

Speech Synthesis and Recognition Using Browser

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages