From ed7f7bffe3ba56f41c9473d4eaeb6826983ae5b7 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 5 Jun 2018 01:58:43 +0200 Subject: upload status --- app/relay/modules/samplernn.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'app/relay/modules/samplernn.js') 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, }, } -- cgit v1.2.3-70-g09d2