From ca82acfd3b2a74e37891f627cff9102795fa600f Mon Sep 17 00:00:00 2001 From: Sean McLellan Date: Wed, 24 Aug 2022 13:33:19 -0400 Subject: [PATCH] Remove unnecessary print, small optmi --- scripts/dream.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/dream.py b/scripts/dream.py index dca26b16a0..37d213155a 100755 --- a/scripts/dream.py +++ b/scripts/dream.py @@ -183,11 +183,9 @@ def main_loop(t2i,parser,log,infile): newopt = copy.deepcopy(opt) newopt.variants = None for r in results: - resultPath = r[0] + newopt.init_img = resultPath = r[0] print(f"\t generating variant for {resultPath}") for j in range(0, opt.variants): - newopt.init_img = resultPath - print(f"{newopt.init_img}") try: variantResults = t2i.img2img(**vars(newopt)) allVariantResults.append([newopt,variantResults])