fix duplicated argument introduced by conflict resolution

This commit is contained in:
Lincoln Stein 2022-11-05 16:01:55 -04:00
parent fefb4dc1f8
commit 17053ad8b7

View File

@ -142,6 +142,7 @@ class Generate:
ddim_eta = 0.0, # deterministic ddim_eta = 0.0, # deterministic
full_precision = False, full_precision = False,
precision = 'auto', precision = 'auto',
outdir = 'outputs/img-samples',
gfpgan=None, gfpgan=None,
codeformer=None, codeformer=None,
esrgan=None, esrgan=None,
@ -175,7 +176,7 @@ class Generate:
self.generators = {} self.generators = {}
self.base_generator = None self.base_generator = None
self.seed = None self.seed = None
self.outdir = outdir self.outdir = outdir
self.gfpgan = gfpgan self.gfpgan = gfpgan
self.codeformer = codeformer self.codeformer = codeformer
self.esrgan = esrgan self.esrgan = esrgan
@ -291,7 +292,6 @@ class Generate:
embiggen_tiles = None, embiggen_tiles = None,
# these are specific to GFPGAN/ESRGAN # these are specific to GFPGAN/ESRGAN
gfpgan_strength= 0, gfpgan_strength= 0,
save_original = False,
facetool = None, facetool = None,
facetool_strength = 0, facetool_strength = 0,
codeformer_fidelity = None, codeformer_fidelity = None,