fix several dangling references to --gfpgan option, which no longer exists

This commit is contained in:
Lincoln Stein 2022-09-04 21:39:15 -04:00
parent f4004f660e
commit 0f93dadd6a
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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(