mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
* check for missing parameters.
This commit is contained in:
parent
2a292d5b82
commit
5941ee620c
@ -73,9 +73,9 @@ class PromptFormatter:
|
||||
switches.append(f'-G{opt.gfpgan_strength}')
|
||||
if opt.upscale:
|
||||
switches.append(f'-U {" ".join([str(u) for u in opt.upscale])}')
|
||||
if opt.embiggen:
|
||||
if hasattr(opt, 'embiggen') and opt.embiggen:
|
||||
switches.append(f'-embiggen {" ".join([str(u) for u in opt.embiggen])}')
|
||||
if opt.embiggen_tiles:
|
||||
if hasattr(opt, 'embiggen_tiles') and opt.embiggen_tiles:
|
||||
switches.append(f'-embiggen_tiles {" ".join([str(u) for u in opt.embiggen_tiles])}')
|
||||
if opt.variation_amount > 0:
|
||||
switches.append(f'-v{opt.variation_amount}')
|
||||
|
Loading…
Reference in New Issue
Block a user