File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change
1
+ [
2
+ " it-IT_BroadbandModel" ,
3
+ " it-IT_NarrowbandModel" ,
4
+ " nl-NL_NarrowbandModel" ,
5
+ " nl-NL_BroadbandModel"
6
+ ]
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import SpeechToText from 'watson-speech/speech-to-text';
6
6
// load time. Once we have a token, this component will automatically fetch the current list
7
7
// of models and update the UI if necessary.
8
8
import cachedModels from '../src/data/models.json' ;
9
+ import betaModels from '../src/data/beta-models.json' ;
9
10
10
11
11
12
export class ModelDropdown extends Component {
@@ -49,7 +50,9 @@ export class ModelDropdown extends Component {
49
50
. map ( m => (
50
51
< option value = { m . name } key = { m . name } > { m . description . replace ( / \. $ / , '' ) }
51
52
{ ' ' }
52
- ({ m . rate / 1000 } KHz)
53
+ { betaModels . some ( b => b === m . name ) ? '(Beta)' : '' }
54
+ { ' ' }
55
+ ({ m . rate / 1000 } KHz)
53
56
</ option > ) ) ;
54
57
55
58
return (
You can’t perform that action at this time.
0 commit comments