Skip to content

Commit d80885f

Browse files
fix: fix the sample tests (#217)
1 parent 240bd93 commit d80885f

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
@@ -189,9 +189,12 @@ async function speechTranscribeMultichannelGCS(gcsUri) {
189189

190190
const [response] = await client.recognize(request);
191191
const transcription = response.results
192-
.map(result => {
193-
` Channel Tag: ${result.channelTag} ${result.alternatives[0].transcript}`;
194-
})
192+
.map(
193+
result =>
194+
` Channel Tag: ${result.channelTag} ${
195+
result.alternatives[0].transcript
196+
}`
197+
)
195198
.join('\n');
196199
console.log(`Transcription: \n${transcription}`);
197200
// [END speech_transcribe_multichannel_gcs_beta]

0 commit comments

Comments
 (0)