Skip to content

Commit

Permalink
fix: add label to for broadband models #170
Browse files Browse the repository at this point in the history
  • Loading branch information
germanattanasio committed Jul 19, 2018
1 parent 2ec389a commit a991e7c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions views/demo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ export default React.createClass({

const messages = this.getFinalAndLatestInterimResult();
const micBullet = (typeof window !== 'undefined' && recognizeMicrophone.isSupported)
? <li className="base--li">Use your microphone to record audio.</li>
? <li className="base--li">Use your microphone to record audio. For best results, use broadband models for microphone input.</li>
: <li className="base--li base--p_light">Use your microphone to record audio. (Not supported in current browser)</li>;// eslint-disable-line

return (
Expand Down Expand Up @@ -433,7 +433,7 @@ export default React.createClass({

<ul className="base--ul">
{micBullet}
<li className="base--li">'Upload pre-recorded audio (.mp3, .mpeg, .wav, .flac, or .opus only).</li>
<li className="base--li">Upload pre-recorded audio (.mp3, .mpeg, .wav, .flac, or .opus only).</li>
<li className="base--li">Play one of the sample audio files.*</li>
</ul>

Expand Down Expand Up @@ -536,7 +536,6 @@ export default React.createClass({
<JSONView raw={rawMessages} formatted={formattedMessages} />
</Pane>
</Tabs>

</Dropzone>
);
},
Expand Down

0 comments on commit a991e7c

Please sign in to comment.