diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-04 04:50:27 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-04 04:50:27 +0200 |
| commit | 91c47c22f2c71c524fd665f19186bb014c94ab31 (patch) | |
| tree | 842c12c78c64845d6326d241e4ed84fce9adef29 /app/relay/modules/samplernn.js | |
| parent | 0cfde7b1c1ded067f56c681722b3c3d5f08692be (diff) | |
audioplayer you can toggle
Diffstat (limited to 'app/relay/modules/samplernn.js')
| -rw-r--r-- | app/relay/modules/samplernn.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/relay/modules/samplernn.js b/app/relay/modules/samplernn.js index 3962755..d3b5012 100644 --- a/app/relay/modules/samplernn.js +++ b/app/relay/modules/samplernn.js @@ -6,6 +6,8 @@ const cwd = process.env.SAMPLERNN_CWD || path.join(process.env.HOME, 'code/' + n const fetch = { type: 'perl', script: 'get.pl', + // here i need to bridge again... get the filename that comes back from youtube-dl + // and tell the cortex that URL -> fn and add the filename!s params: (task) => { console.log(task) return [ task.opt.url ] @@ -26,7 +28,7 @@ const train = { '--keep_old_checkpoints', task.opt.keep_old_checkpoints ? 'True' : 'False', ] }, - onComplete: publish, + after: publish, } const generate = { type: 'pytorch', @@ -42,7 +44,7 @@ const generate = { '--keep_old_checkpoints', task.opt.keep_old_checkpoints ? 'True' : 'False', ] }, - onComplete: publish, + after: publish, } const publish = { type: 'perl', |
