Skip to content

Commit 8a75f38

Browse files
committed
Implement STT Customisation
1 parent 42a5b18 commit 8a75f38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

services/speech_to_text/v1-corpus-builder.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = function (RED) {
2525
serviceutils = require('../../utilities/service-utils'),
2626
STTV1 = require('watson-developer-cloud/speech-to-text/v1'),
2727
service = serviceutils.getServiceCreds(SERVICE_IDENTIFIER),
28-
username, password, sUsername, sPassword;
28+
username = '', password = '', sUsername = '', sPassword = '';
2929

3030
temp.track();
3131

@@ -162,8 +162,8 @@ module.exports = function (RED) {
162162
executeGetCorpora(node, stt, params, msg);
163163
break;
164164
case 'train':
165-
executeTrain(node, stt, params, msg);
166-
break;
165+
executeTrain(node, stt, params, msg);
166+
break;
167167
case 'deleteCorpus':
168168
executeDeleteCorpus(node, stt, params, msg);
169169
break;

0 commit comments

Comments
 (0)