summaryrefslogtreecommitdiff
path: root/app/client/modules
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-01-11 00:24:47 +0100
committerJules Laplace <julescarbon@gmail.com>2020-01-11 00:24:47 +0100
commit46563802b8d1c31020752b7a4360f92e7613dc31 (patch)
tree4e880809a15605909763d986b52d9b03ce61b34a /app/client/modules
parent816321e4d4ee481e5cb3bafedd2366ec9fdd6af1 (diff)
render video after live
Diffstat (limited to 'app/client/modules')
-rw-r--r--app/client/modules/biggan/views/biggan.categoryList.js2
-rw-r--r--app/client/modules/biggan/views/biggan.encodingList.js8
2 files changed, 6 insertions, 4 deletions
diff --git a/app/client/modules/biggan/views/biggan.categoryList.js b/app/client/modules/biggan/views/biggan.categoryList.js
index e1cc2d1..7d38efc 100644
--- a/app/client/modules/biggan/views/biggan.categoryList.js
+++ b/app/client/modules/biggan/views/biggan.categoryList.js
@@ -10,7 +10,7 @@ import actions from '../../../actions'
import * as bigganTasks from '../biggan.tasks'
import * as bigganActions from '../biggan.actions'
-const ALL_CATEGORIES = 'inversion/categories/biggan_all.json'
+const ALL_CATEGORIES = 'categories/biggan_all.json'
class BigGANCategoryList extends Component {
state = {
diff --git a/app/client/modules/biggan/views/biggan.encodingList.js b/app/client/modules/biggan/views/biggan.encodingList.js
index 76c306c..710752e 100644
--- a/app/client/modules/biggan/views/biggan.encodingList.js
+++ b/app/client/modules/biggan/views/biggan.encodingList.js
@@ -37,11 +37,11 @@ class BigGANEncodingList extends Component {
/>
<Slider live
name='encoding_mix_n'
- title={"Blend mix"}
+ title={"Latent mix"}
min={0} max={1} type='float'
/>
<Slider live
- name='encoding_mix_n'
+ name='encoding_stored_n'
title={"Encoding mix"}
min={0} max={1} type='float'
/>
@@ -55,7 +55,9 @@ class BigGANEncodingList extends Component {
<img
key={file.id}
src={file.url}
- onClick={() => actions.live.send_command('setEncoding', 'id=' + file.id)}
+ onClick={() => actions.live.send_command('setEncoding', JSON.stringify({
+ id: file.id,
+ }))}
/>
))}
</div>