Skip to content

Commit

Permalink
fix several dangling references to --gfpgan option, which no longer e…
Browse files Browse the repository at this point in the history
…xists
  • Loading branch information
lstein committed Sep 5, 2022
1 parent f4004f6 commit 0f93dad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ldm/gfpgan/gfpgan_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion scripts/dream.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0f93dad

Please sign in to comment.