Skip to content

Commit 9795456

Browse files
Update microphone-streaming-model.html
1 parent a0c7cfc commit 9795456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/static/microphone-streaming-model.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ <h2>Code for this demo:</h2>
5757
document.querySelector('#button').onclick = function () {
5858
getTtsToken().then(function (token) {
5959

60-
var stream = WatsonSpeech.SpeechToText.recognizeMicrophone(Object.assign(token,
60+
var stream = WatsonSpeech.SpeechToText.recognizeMicrophone(Object.assign(token, {
6161
model: document.querySelector('#model').value,
6262
outputElement: '#output' // CSS selector or DOM Element
6363
}));

0 commit comments

Comments
 (0)