close #1094, dangling gfpgan_strength reference

This commit is contained in:
Lincoln Stein 2022-10-14 07:45:10 -04:00
parent ce5e57d828
commit 32dab7d4bf

View File

@ -247,8 +247,6 @@ class Args(object):
switches.append(f'-ft {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"]}')
elif a['gfpgan_strength']:
switches.append(f'-G {a["gfpgan_strength"]}')
if a['codeformer_fidelity']: if a['codeformer_fidelity']:
switches.append(f'-cf {a["codeformer_fidelity"]}') switches.append(f'-cf {a["codeformer_fidelity"]}')