zhiweili
commited on
Commit
·
edefbed
1
Parent(s):
ca58311
disable enhance face
Browse files- enhance_utils.py +1 -1
enhance_utils.py
CHANGED
@@ -40,7 +40,7 @@ face_enhancer = GFPGANer(model_path='GFPGANv1.4.pth', upscale=2, arch='clean', c
|
|
40 |
|
41 |
def enhance_image(
|
42 |
pil_image: Image,
|
43 |
-
enhance_face: bool =
|
44 |
scale: int = 2,
|
45 |
):
|
46 |
face_enhancer.upscale = scale
|
|
|
40 |
|
41 |
def enhance_image(
|
42 |
pil_image: Image,
|
43 |
+
enhance_face: bool = False,
|
44 |
scale: int = 2,
|
45 |
):
|
46 |
face_enhancer.upscale = scale
|