Merge branch 'development' of https://github.com/pbaylies/stable-diffusion into development

This commit is contained in:
Peter Baylies 2022-09-21 11:05:34 -04:00
commit 883b2b6e62
2 changed files with 3 additions and 2 deletions

View File

@ -573,14 +573,14 @@ class Args(object):
'-G', '-G',
'--gfpgan_strength', '--gfpgan_strength',
type=float, type=float,
help='The strength at which to apply the GFPGAN model to the result, in order to improve faces.', help='The strength at which to apply the face restoration to the result.',
default=0.0, default=0.0,
) )
postprocessing_group.add_argument( postprocessing_group.add_argument(
'-cf', '-cf',
'--codeformer_fidelity', '--codeformer_fidelity',
type=float, type=float,
help='Takes values between 0 and 1. 0 produces high quality but low accuracy. 1 produces high accuracy but low quality.', help='Used along with CodeFormer. Takes values between 0 and 1. 0 produces high quality but low accuracy. 1 produces high accuracy but low quality.',
default=0.75 default=0.75
) )
postprocessing_group.add_argument( postprocessing_group.add_argument(

View File

@ -0,0 +1 @@
from .base import Restoration