diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-05 01:58:43 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-05 01:58:43 +0200 |
| commit | ed7f7bffe3ba56f41c9473d4eaeb6826983ae5b7 (patch) | |
| tree | af40c92d4aef5572745a97c40bd5cdef1b3ef285 /app/relay/modules/samplernn.js | |
| parent | 8e286a37e398d614424e4ddc04808367e7ab0acd (diff) | |
upload status
Diffstat (limited to 'app/relay/modules/samplernn.js')
| -rw-r--r-- | app/relay/modules/samplernn.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/app/relay/modules/samplernn.js b/app/relay/modules/samplernn.js index 64a6b88..bdbe602 100644 --- a/app/relay/modules/samplernn.js +++ b/app/relay/modules/samplernn.js @@ -56,6 +56,13 @@ const publish = { return ['-l', task.dataset] } } +const clear_cache = { + type: 'perl', + script: 'clear_cache.pl', + params: (task) => { + return ['-l', task.dataset] + } +} const report = { type: 'perl', script: 'latest.pl', @@ -66,6 +73,6 @@ const report = { export default { name, cwd, activities: { - fetch, train, generate, report, + fetch, train, generate, publish, clear_cache, report, }, } |
