Apex-X commited on
Commit
be52846
·
1 Parent(s): ca48f71

Update roop/processors/frame/face_enhancer.py

Browse files
roop/processors/frame/face_enhancer.py CHANGED
@@ -21,7 +21,7 @@ def get_face_enhancer() -> Any:
21
 
22
  with THREAD_LOCK:
23
  if FACE_ENHANCER is None:
24
- model_path = resolve_relative_path('../models/GFPGANv1.4.pth')
25
  # todo: set models path -> https://github.com/TencentARC/GFPGAN/issues/399
26
  FACE_ENHANCER = GFPGANer(model_path=model_path, upscale=1, device=get_device())
27
  return FACE_ENHANCER
 
21
 
22
  with THREAD_LOCK:
23
  if FACE_ENHANCER is None:
24
+ model_path = resolve_relative_path('../models/GFPGANv1.pth')
25
  # todo: set models path -> https://github.com/TencentARC/GFPGAN/issues/399
26
  FACE_ENHANCER = GFPGANer(model_path=model_path, upscale=1, device=get_device())
27
  return FACE_ENHANCER