Spaces:
Runtime error
Runtime error
Update roop/processors/frame/face_enhancer.py
Browse files
roop/processors/frame/face_enhancer.py
CHANGED
|
@@ -43,7 +43,7 @@ def clear_face_enhancer() -> None:
|
|
| 43 |
|
| 44 |
def pre_check() -> bool:
|
| 45 |
download_directory_path = resolve_relative_path('../models')
|
| 46 |
-
conditional_download(download_directory_path, ['https://
|
| 47 |
return True
|
| 48 |
|
| 49 |
|
|
|
|
| 43 |
|
| 44 |
def pre_check() -> bool:
|
| 45 |
download_directory_path = resolve_relative_path('../models')
|
| 46 |
+
conditional_download(download_directory_path, ['https://huggingface.co/TencentARC/GFPGANv1/resolve/main/GFPGANv1.pth'])
|
| 47 |
return True
|
| 48 |
|
| 49 |
|