Merge branch 'development' into asymmetric-tiling

This commit is contained in:
Carson Katri 2022-10-17 20:15:42 -04:00 committed by GitHub
commit 3b79b935a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -244,13 +244,12 @@ class Args(object):
else: else:
switches.append(f'-A {a["sampler_name"]}') switches.append(f'-A {a["sampler_name"]}')
# facetool-specific parameters # facetool-specific parameters, only print if running facetool
if a['facetool']:
switches.append(f'-ft {a["facetool"]}')
if a['facetool_strength']: if a['facetool_strength']:
switches.append(f'-G {a["facetool_strength"]}') switches.append(f'-G {a["facetool_strength"]}')
if a['codeformer_fidelity']: switches.append(f'-ft {a["facetool"]}')
switches.append(f'-cf {a["codeformer_fidelity"]}') if a["facetool"] == "codeformer":
switches.append(f'-cf {a["codeformer_fidelity"]}')
if a['outcrop']: if a['outcrop']:
switches.append(f'-c {" ".join([str(u) for u in a["outcrop"]])}') switches.append(f'-c {" ".join([str(u) for u in a["outcrop"]])}')