From 17053ad8b7efecb21a9b4eb32695089f683f72e3 Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Sat, 5 Nov 2022 16:01:55 -0400 Subject: [PATCH] fix duplicated argument introduced by conflict resolution --- ldm/generate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ldm/generate.py b/ldm/generate.py index 8521eb8bc8..832dab40f8 100644 --- a/ldm/generate.py +++ b/ldm/generate.py @@ -142,6 +142,7 @@ class Generate: ddim_eta = 0.0, # deterministic full_precision = False, precision = 'auto', + outdir = 'outputs/img-samples', gfpgan=None, codeformer=None, esrgan=None, @@ -175,7 +176,7 @@ class Generate: self.generators = {} self.base_generator = None self.seed = None - self.outdir = outdir + self.outdir = outdir self.gfpgan = gfpgan self.codeformer = codeformer self.esrgan = esrgan @@ -291,7 +292,6 @@ class Generate: embiggen_tiles = None, # these are specific to GFPGAN/ESRGAN gfpgan_strength= 0, - save_original = False, facetool = None, facetool_strength = 0, codeformer_fidelity = None,