summaryrefslogtreecommitdiff
path: root/cli/app/commands/biggan/random.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-12-05 17:03:33 +0100
committerJules Laplace <julescarbon@gmail.com>2019-12-05 17:03:33 +0100
commit05ea19b7607ef261e511cbb91cfa3a28bdbc0dfd (patch)
treedb14a3c2ec21f9473c78800d0e63af7c696c6c08 /cli/app/commands/biggan/random.py
parentcafa61c2f1de087ced74af4f963590d6e533fe6b (diff)
fix
Diffstat (limited to 'cli/app/commands/biggan/random.py')
-rw-r--r--cli/app/commands/biggan/random.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/app/commands/biggan/random.py b/cli/app/commands/biggan/random.py
index 42db0b8..ebfde4b 100644
--- a/cli/app/commands/biggan/random.py
+++ b/cli/app/commands/biggan/random.py
@@ -51,7 +51,7 @@ def cli(ctx):
print(results)
- for sample in results['default']:
+ for sample in results:
sample = image_to_uint8(sample)
img = Image.fromarray(sample, "RGB")
fp_img_out = "{}.png".format(int(time.time() * 1000))