mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix several dangling references to --gfpgan option, which no longer exists
This commit is contained in:
parent
f4004f660e
commit
0f93dadd6a
@ -46,7 +46,7 @@ def _run_gfpgan(image, strength, prompt, seed, upsampler_scale=4):
|
|||||||
|
|
||||||
if gfpgan is None:
|
if gfpgan is None:
|
||||||
print(
|
print(
|
||||||
f'>> GFPGAN not initialized, it must be loaded via the --gfpgan argument'
|
f'>> GFPGAN not initialized. Their packages must be installed as siblings to the "stable-diffusion" folder, or set explicitly using the --gfpgan_dir option.'
|
||||||
)
|
)
|
||||||
return image
|
return image
|
||||||
|
|
||||||
|
@ -443,7 +443,7 @@ def create_argv_parser():
|
|||||||
'--gfpgan_bg_upsampler',
|
'--gfpgan_bg_upsampler',
|
||||||
type=str,
|
type=str,
|
||||||
default='realesrgan',
|
default='realesrgan',
|
||||||
help='Background upsampler. Default: realesrgan. Options: realesrgan, none. Only used if --gfpgan is specified',
|
help='Background upsampler. Default: realesrgan. Options: realesrgan, none.',
|
||||||
|
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user