File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 </ div >
2323 < div id = "credentials-not-found" class = "form-row" >
2424 < div class = "form-tips" >
25- < i class = "fa fa-question-circle" > </ i > < b > Wrong credentials . </ b > Could not retrieve models.
25+ < i class = "fa fa-question-circle" > </ i > < b > Could not retrieve models . </ b > < span id = "try-again" > Click here to ry again. </ span >
2626 </ div >
2727 < / d i v >
2828 < div class = "form-row" >
123123var base_model_selected = $ ( '#node-input-basemodel' ) . val ( ) ;
124124
125125( function ( ) {
126+
127+ $ ( 'span#try-again' ) . on ( 'click' , function ( ) {
128+ oneditprepare ( ) ;
129+ } )
130+
126131 // sorting functions
127132 function onlyUnique ( value , index , self ) {
128133 return self . indexOf ( value ) === index ;
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ module.exports = function (RED) {
110110
111111 var params = { } ;
112112
113- /* if(config.continuous === 'true')
113+ if ( config . continuous === 'true' )
114114 {
115115 params = {
116116 audio : audio ,
@@ -127,15 +127,7 @@ module.exports = function (RED) {
127127 continuous : false
128128 } ;
129129
130- }*/
131-
132- params = {
133- audio : audio ,
134- content_type : 'audio/' + format ,
135- model : model ,
136- continuous : true ,
137- keywords : [ 'arlemi' , 'developerWorks' ]
138- } ;
130+ }
139131
140132
141133 node . status ( { fill :'blue' , shape :'dot' , text :'requesting' } ) ;
You can’t perform that action at this time.
0 commit comments