From c248031739699775477c838f8e836fedf243c720 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 28 May 2018 20:17:56 +0200 Subject: new modules.. --- app/client/modules/index.js | 2 +- app/client/modules/samplernn/datasets.component.js | 21 ++++++++++++++++----- 2 files changed, 17 insertions(+), 6 deletions(-) (limited to 'app/client/modules') diff --git a/app/client/modules/index.js b/app/client/modules/index.js index 6ca4bc5..bc7c263 100644 --- a/app/client/modules/index.js +++ b/app/client/modules/index.js @@ -3,4 +3,4 @@ import samplernn from './samplernn' export default { pix2pix, samplernn -} \ No newline at end of file +} diff --git a/app/client/modules/samplernn/datasets.component.js b/app/client/modules/samplernn/datasets.component.js index 989f145..56024e7 100644 --- a/app/client/modules/samplernn/datasets.component.js +++ b/app/client/modules/samplernn/datasets.component.js @@ -12,11 +12,12 @@ import TextInput from '../../common/textInput.component' class SampleRNNDatasets extends Component { constructor(props){ super() + // fetch file list this.handleUpload = this.handleUpload.bind(this) this.handleURL = this.handleURL.bind(this) } handleUpload(file) { - + } handleURL(url) { @@ -25,7 +26,7 @@ class SampleRNNDatasets extends Component { return (
-

SampleRNN Datasets

+

SampleRNN

@@ -41,13 +42,23 @@ class SampleRNNDatasets extends Component {
+
+

Datasets

+
+
foo.mp3
+
1.2 mb
+
30 May 2018
+
epoch 30
+
+ delete +
+
+
) } } -function timeInSeconds(n){ - return (n / 10).toFixed(1) + ' s.' -} + const mapStateToProps = state => ({ }) -- cgit v1.2.3-70-g09d2