Skip to content

Commit

Permalink
Revert "refactor: depend on node-sdk for recognize stream and query s…
Browse files Browse the repository at this point in the history
…tring"

This reverts commit 1ad98a0.
  • Loading branch information
dpopp07 committed Mar 18, 2019
1 parent 7382758 commit c1442b4
Show file tree
Hide file tree
Showing 6 changed files with 425 additions and 4 deletions.
2 changes: 1 addition & 1 deletion speech-to-text/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = {
/**
* @see RecognizeStream
*/
RecognizeStream: require('watson-developer-cloud/lib/recognize-stream'),
RecognizeStream: require('./recognize-stream'),
/**
* @see FilePlayer
*/
Expand Down
2 changes: 1 addition & 1 deletion speech-to-text/recognize-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

'use strict';
var BlobStream = require('readable-blob-stream');
var RecognizeStream = require('watson-developer-cloud/lib/recognize-stream');
var RecognizeStream = require('./recognize-stream.js');
var FilePlayer = require('./file-player.js');
var FormatStream = require('./format-stream.js');
var TimingStream = require('./timing-stream.js');
Expand Down
2 changes: 1 addition & 1 deletion speech-to-text/recognize-microphone.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
'use strict';
var getUserMedia = require('get-user-media-promise');
var MicrophoneStream = require('microphone-stream');
var RecognizeStream = require('watson-developer-cloud/lib/recognize-stream');
var RecognizeStream = require('./recognize-stream.js');
var L16 = require('./webaudio-l16-stream.js');
var FormatStream = require('./format-stream.js');
var assign = require('object.assign/polyfill')();
Expand Down
Loading

0 comments on commit c1442b4

Please sign in to comment.