We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0c7cfc commit 9795456Copy full SHA for 9795456
examples/static/microphone-streaming-model.html
@@ -57,7 +57,7 @@ <h2>Code for this demo:</h2>
57
document.querySelector('#button').onclick = function () {
58
getTtsToken().then(function (token) {
59
60
- var stream = WatsonSpeech.SpeechToText.recognizeMicrophone(Object.assign(token,
+ var stream = WatsonSpeech.SpeechToText.recognizeMicrophone(Object.assign(token, {
61
model: document.querySelector('#model').value,
62
outputElement: '#output' // CSS selector or DOM Element
63
}));
0 commit comments