Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
updates async local tags
Browse files Browse the repository at this point in the history
  • Loading branch information
alixhami committed Aug 20, 2018
1 parent 02941f8 commit 9a1adc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/recognize.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function syncRecognizeWords(filename, encoding, sampleRateHertz, languageCode) {
}

function asyncRecognize(filename, encoding, sampleRateHertz, languageCode) {
// [START speech_async_recognize]
// [START speech_transcribe_async]
// Imports the Google Cloud client library
const speech = require('@google-cloud/speech');
const fs = require('fs');
Expand Down Expand Up @@ -228,7 +228,7 @@ function asyncRecognize(filename, encoding, sampleRateHertz, languageCode) {
.catch(err => {
console.error('ERROR:', err);
});
// [END speech_async_recognize]
// [END speech_transcribe_async]
}

function asyncRecognizeGCS(gcsUri, encoding, sampleRateHertz, languageCode) {
Expand Down

0 comments on commit 9a1adc9

Please sign in to comment.