Guest User

Untitled

a guest
Sep 23rd, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. curl -s -H "Content-Type: application/json"
  2. -H "Authorization: Bearer "$(gcloud auth application-default print-access-token)
  3. https://speech.googleapis.com/v1p1beta1/speech:longrunningrecognize
  4. --data "{
  5. 'config': {
  6. 'encoding': 'LINEAR16',
  7. 'sampleRateHertz': 16000,
  8. 'languageCode': 'en-US',
  9. 'enableWordTimeOffsets': true,
  10. 'enableAutomaticPunctuation': true,
  11. 'model': 'video'
  12. },
  13. 'audio': {
  14. 'uri':'gs://cloud-samples-tests/speech/Google_Gnome.wav'
  15. }
  16. }"
Add Comment
Please, Sign In to add comment