Skip to content

Commit 1accc78

Browse files
fix: fix the sample tests again (#218)
1 parent d80885f commit 1accc78

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

speech/betaFeatures.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,12 @@ async function speechTranscribeMultiChannel(fileName) {
156156

157157
const [response] = await client.recognize(request);
158158
const transcription = response.results
159-
.map(result => {
160-
` Channel Tag: ${result.channelTag} ${result.alternatives[0].transcript}`;
161-
})
159+
.map(
160+
result =>
161+
` Channel Tag: ${result.channelTag} ${
162+
result.alternatives[0].transcript
163+
}`
164+
)
162165
.join('\n');
163166
console.log(`Transcription: \n${transcription}`);
164167
// [END speech_transcribe_multichannel_beta]

0 commit comments

Comments
 (0)