Skip to content

Commit 9bb8b57

Browse files
b-loved-dreamerAce Nassri
authored and
Ace Nassri
committed
chore: Added missing config field (#701)
* chore: added a sample that showcases the use the of the profanity filter * docs: variables to uncomment * docs: variables to uncomment * docs: variables to uncomment * refactor: quickstart now uses gcs * refactor: quickstart now uses gcs * refactor: quickstart now uses gcs * feat: adds a new sample * chore: applied suggested changes * chore: added missing required config field for auto punctuation sample * chore: change audio file for sample rate * chore: fixed * chore: comment * chore: changed: added comment instead
1 parent db7a0a8 commit 9bb8b57

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

speech/recognize.js

+1
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,7 @@ async function syncRecognizeWithAutoPunctuation(
563563

564564
/**
565565
* TODO(developer): Uncomment the following lines before running the sample.
566+
* Include the sampleRateHertz field in the config object.
566567
*/
567568
// const filename = 'Local path to audio file, e.g. /path/to/audio.raw';
568569
// const encoding = 'Encoding of the audio file, e.g. LINEAR16';

speech/system-test/profanityFilter.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ describe('profanityFilter', () => {
2929
const stdout = execSync(`node profanityFilter.js ${storageUri}`)
3030
assert.match(stdout, /Transcription:/ );
3131
});
32-
});
32+
});

0 commit comments

Comments
 (0)