diff options
Diffstat (limited to 'app/client/modules/samplernn/samplernn.actions.js')
| -rw-r--r-- | app/client/modules/samplernn/samplernn.actions.js | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/app/client/modules/samplernn/samplernn.actions.js b/app/client/modules/samplernn/samplernn.actions.js index becab34..339c347 100644 --- a/app/client/modules/samplernn/samplernn.actions.js +++ b/app/client/modules/samplernn/samplernn.actions.js @@ -35,7 +35,7 @@ export const load_directories = () => (dispatch) => { const fileLookup = unprocessedFiles.reduce((fileLookup, file) => { file.checkpoints = [] if (! file.name) { - file.name = (file.opt || {}).token || 'unloaded' + file.name = (file.opt || {}).token || file.url // fileLookup[(file.name || 'unsorted').split('.')[0]] = file } else { fileLookup[(file.name).split('.')[0]] = file @@ -100,11 +100,10 @@ export const load_directories = () => (dispatch) => { type: types.samplernn.init, data: { folderLookup, - // folders, files, - // checkpoints, - // builtDatasets, - // flatDatasets, - // report + folders, files, + checkpoints, + builtDatasets, + report }, }) if (folders.length) { |
