Spaces:
Running
Running
Update roop/processors/frame/face_enhancer.py
Browse files
roop/processors/frame/face_enhancer.py
CHANGED
|
@@ -36,7 +36,8 @@ def get_face_enhancer() -> Any:
|
|
| 36 |
|
| 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 |
return True
|
| 41 |
|
| 42 |
|
|
|
|
| 36 |
|
| 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.4.pth'])
|
| 41 |
return True
|
| 42 |
|
| 43 |
|