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

fix: fix the sample tests again #218

Merged
merged 1 commit into from
Oct 26, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions samples/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