mirror of
https://github.com/s0md3v/roop.git
synced 2025-12-06 18:08:29 +00:00
Disable upscale for enhancer to double fps
This commit is contained in:
parent
912e3c5391
commit
fe798683a3
@ -35,7 +35,7 @@ def get_face_enhancer() -> None:
|
||||
if FACE_ENHANCER is None:
|
||||
model_path = resolve_relative_path('../models/GFPGANv1.3.pth')
|
||||
# todo: set models path https://github.com/TencentARC/GFPGAN/issues/399
|
||||
FACE_ENHANCER = gfpgan.GFPGANer(model_path=model_path)
|
||||
FACE_ENHANCER = gfpgan.GFPGANer(model_path=model_path, upscale=1)
|
||||
return FACE_ENHANCER
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user