Skip to content

Commit

Permalink
docs(samples): updated SpeakerDiarizationConfig to use min and max co…
Browse files Browse the repository at this point in the history
…unt (#827)
  • Loading branch information
galz10 authored and Ace Nassri committed Nov 17, 2022
1 parent 0528729 commit b4425ec
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions speech/betaFeatures.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ async function speechTranscribeDiarization(fileName) {
sampleRateHertz: 8000,
languageCode: 'en-US',
enableSpeakerDiarization: true,
diarizationSpeakerCount: 2,
minSpeakerCount: 2,
maxSpeakerCount: 2,
model: 'phone_call',
};

Expand Down Expand Up @@ -91,7 +92,8 @@ async function asyncSpeechTranscribeDiarizationGCS(gcsUri) {
sampleRateHertz: 8000,
languageCode: 'en-US',
enableSpeakerDiarization: true,
diarizationSpeakerCount: 2,
minSpeakerCount: 2,
maxSpeakerCount: 2,
model: 'phone_call',
};

Expand Down

0 comments on commit b4425ec

Please sign in to comment.