From 0f93dadd6ac5aa0fbeee5d72150def775752a153 Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Sun, 4 Sep 2022 21:39:15 -0400 Subject: [PATCH] fix several dangling references to --gfpgan option, which no longer exists --- ldm/gfpgan/gfpgan_tools.py | 2 +- scripts/dream.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ldm/gfpgan/gfpgan_tools.py b/ldm/gfpgan/gfpgan_tools.py index ff90a833601..8fe8bb8d281 100644 --- a/ldm/gfpgan/gfpgan_tools.py +++ b/ldm/gfpgan/gfpgan_tools.py @@ -46,7 +46,7 @@ def _run_gfpgan(image, strength, prompt, seed, upsampler_scale=4): if gfpgan is None: 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 diff --git a/scripts/dream.py b/scripts/dream.py index a044962f3b5..b43b856e8b0 100755 --- a/scripts/dream.py +++ b/scripts/dream.py @@ -443,7 +443,7 @@ def create_argv_parser(): '--gfpgan_bg_upsampler', type=str, 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(