Skip to content

Commit

Permalink
fix: fix the sample tests again (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored Oct 26, 2018
1 parent d80885f commit 1accc78
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions speech/betaFeatures.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,12 @@ async function speechTranscribeMultiChannel(fileName) {

const [response] = await client.recognize(request);
const transcription = response.results
.map(result => {
` Channel Tag: ${result.channelTag} ${result.alternatives[0].transcript}`;
})
.map(
result =>
` Channel Tag: ${result.channelTag} ${
result.alternatives[0].transcript
}`
)
.join('\n');
console.log(`Transcription: \n${transcription}`);
// [END speech_transcribe_multichannel_beta]
Expand Down

0 comments on commit 1accc78

Please sign in to comment.