From fd54efeb90fe23e7fd2694f0785ce7784103676b Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 11 Jan 2020 14:58:28 +0100 Subject: apths --- cli/app/search/live.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/app/search/live.py') diff --git a/cli/app/search/live.py b/cli/app/search/live.py index 06b679e..a1c1700 100644 --- a/cli/app/search/live.py +++ b/cli/app/search/live.py @@ -391,7 +391,7 @@ class Listener: print("Step {}. Generation time: {:.2f}s".format(i, time.time() - gen_time)) out_img = vs.data2pil(gen_images[0]) if out_img is not None: - out_img.save(os.path.join(path_out, "frame_{:5d}.png".format(i)), format='png') + out_img.save(os.path.join(path_out, "frame_{:05d}.png".format(i)), format='png') img_to_send = out_img.resize((256, 256), Image.BICUBIC) meta = { 'i': i, -- cgit v1.2.3-70-g09d2