add GFPGAN model
This commit is contained in:
@@ -101,6 +101,14 @@ def parse_args():
|
||||
type=str,
|
||||
choices=RealESRGANModelNameList,
|
||||
)
|
||||
parser.add_argument(
|
||||
"--enable-gfpgan",
|
||||
action="store_true",
|
||||
help="Enable GFPGAN face restore",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--gfpgan-device", default="cpu", type=str, choices=["cpu", "cuda"]
|
||||
)
|
||||
parser.add_argument(
|
||||
"--enable-gif",
|
||||
action="store_true",
|
||||
|
||||
Reference in New Issue
Block a user