diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-02-23 17:24:51 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-02-23 17:24:51 +0100 |
| commit | 150fc1dab4b8167cbd1f42e44d809358e40e96fa (patch) | |
| tree | 42aef3614f5d484befc0ed35d4dfc4a44ab3362d /cli | |
| parent | b5b7804f63671a7b54552f72845178f0fa093e09 (diff) | |
pause/play
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/app/search/live.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/app/search/live.py b/cli/app/search/live.py index b49b4eb..0328e2d 100644 --- a/cli/app/search/live.py +++ b/cli/app/search/live.py @@ -549,12 +549,12 @@ class Listener: print("Loading network...") elif i == 1: print("Processing!") - elif interpolator.paused: - time.sleep(0.5) - continue elif interpolator.stopped: print("Stopping...") return + elif interpolator.paused: + time.sleep(0.5) + continue gen_time = time.time() gen_images = interpolator.on_step(i, self.sess) if i == 0: |
