Spaces:
Runtime error
Runtime error
Update roop/processors/frame/face_enhancer.py
Browse files
roop/processors/frame/face_enhancer.py
CHANGED
@@ -37,7 +37,7 @@ def get_face_enhancer() -> Any:
|
|
37 |
def pre_check() -> bool:
|
38 |
download_directory_path = resolve_relative_path('../models')
|
39 |
# conditional_download(download_directory_path, ['https://huggingface.co/henryruhs/roop/resolve/main/GFPGANv1.4.pth'])
|
40 |
-
conditional_download(download_directory_path, ['https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.
|
41 |
return True
|
42 |
|
43 |
|
|
|
37 |
def pre_check() -> bool:
|
38 |
download_directory_path = resolve_relative_path('../models')
|
39 |
# conditional_download(download_directory_path, ['https://huggingface.co/henryruhs/roop/resolve/main/GFPGANv1.4.pth'])
|
40 |
+
conditional_download(download_directory_path, ['https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.4pth'])
|
41 |
return True
|
42 |
|
43 |
|