Skip to content

Commit 0f93dad

Browse files
committed
fix several dangling references to --gfpgan option, which no longer exists
1 parent f4004f6 commit 0f93dad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ldm/gfpgan/gfpgan_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def _run_gfpgan(image, strength, prompt, seed, upsampler_scale=4):
4646

4747
if gfpgan is None:
4848
print(
49-
f'>> GFPGAN not initialized, it must be loaded via the --gfpgan argument'
49+
f'>> GFPGAN not initialized. Their packages must be installed as siblings to the "stable-diffusion" folder, or set explicitly using the --gfpgan_dir option.'
5050
)
5151
return image
5252

scripts/dream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ def create_argv_parser():
443443
'--gfpgan_bg_upsampler',
444444
type=str,
445445
default='realesrgan',
446-
help='Background upsampler. Default: realesrgan. Options: realesrgan, none. Only used if --gfpgan is specified',
446+
help='Background upsampler. Default: realesrgan. Options: realesrgan, none.',
447447

448448
)
449449
parser.add_argument(

0 commit comments

Comments
 (0)