Skip to content

Commit 4074471

Browse files
committed
fixing text-to-console example
1 parent d00802a commit 4074471

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/static/microphone-streaming-text-to-console.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ <h2>Code for this demo:</h2>
3434
}).then(function (token) {
3535

3636
var stream = WatsonSpeech.SpeechToText.recognizeMicrophone({
37-
token: token,
38-
speaker_labels: true
37+
token: token,
38+
object_mode: false // default
3939
});
4040

4141
stream.setEncoding('utf8'); // get text instead of Buffers for on data events

0 commit comments

Comments
 (0)