From 0e697e0047ab1818a20864a7158284e33330ec81 Mon Sep 17 00:00:00 2001 From: Vee9ahd1 Date: Mon, 3 Jun 2019 12:18:17 -0400 Subject: minor style cleanup (needs more) --- gantools/biggan.py | 2 +- gantools/ganbreeder.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gantools/biggan.py b/gantools/biggan.py index 8a0a71d..0ed6bf7 100644 --- a/gantools/biggan.py +++ b/gantools/biggan.py @@ -6,7 +6,7 @@ from itertools import cycle MODULE_PATH = 'https://tfhub.dev/deepmind/biggan-512/2' -class BigGAN: +class BigGAN(object): def __init__(self, module_path=MODULE_PATH): tf.reset_default_graph() print('Loading BigGAN module from:', module_path) diff --git a/gantools/ganbreeder.py b/gantools/ganbreeder.py index 22d1adf..b55bc41 100644 --- a/gantools/ganbreeder.py +++ b/gantools/ganbreeder.py @@ -9,7 +9,7 @@ def login(username, password): r.raise_for_status() for c in r.cookies: if c.name == 'connect.sid': # find the right cookie - print('Session ID: '+str(c.value)) + print('Session ID: ' + str(c.value)) return c.value def login_auth(sid, username, password): -- cgit v1.2.1