mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
web server does not supply embiggen options yet (#535)
This commit is contained in:
parent
a18d0b9ef1
commit
e1a6d0c138
@ -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