We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b953f82 commit 9e599c6Copy full SHA for 9e599c6
ldm/invoke/args.py
@@ -244,13 +244,12 @@ def dream_prompt_str(self,**kwargs):
244
else:
245
switches.append(f'-A {a["sampler_name"]}')
246
247
- # facetool-specific parameters
248
- if a['facetool']:
249
- switches.append(f'-ft {a["facetool"]}')
+ # facetool-specific parameters, only print if running facetool
250
if a['facetool_strength']:
251
switches.append(f'-G {a["facetool_strength"]}')
252
- if a['codeformer_fidelity']:
253
- switches.append(f'-cf {a["codeformer_fidelity"]}')
+ switches.append(f'-ft {a["facetool"]}')
+ if a["facetool"] == "codeformer":
+ switches.append(f'-cf {a["codeformer_fidelity"]}')
254
255
if a['outcrop']:
256
switches.append(f'-c {" ".join([str(u) for u in a["outcrop"]])}')
0 commit comments