From b7f1e7f1dfb55cfe8f95df0012fcfa86910c6e09 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 17 Jan 2020 21:01:17 +0100 Subject: another way of stopping --- app/client/modules/biggan/views/biggan.live.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'app/client/modules') diff --git a/app/client/modules/biggan/views/biggan.live.js b/app/client/modules/biggan/views/biggan.live.js index 25d512d..18a1064 100644 --- a/app/client/modules/biggan/views/biggan.live.js +++ b/app/client/modules/biggan/views/biggan.live.js @@ -32,6 +32,9 @@ class BigGANLive extends Component { interrupt(){ this.props.actions.queue.stop_task('gpu') } + stop() { + actions.live.send_command('stop', '') + } render() { const { biggan, actions, last_message } = this.props // console.log(actions) @@ -170,7 +173,7 @@ class BigGANLive extends Component { return ( ) } @@ -183,7 +186,7 @@ class BigGANLive extends Component { // >{i18n.gpu.restart} // // // ) @@ -192,7 +195,7 @@ class BigGANLive extends Component {
) -- cgit v1.2.3-70-g09d2