Host assets on GitHub

This commit is contained in:
henryruhs
2023-08-21 14:35:32 +02:00
parent 3d850da74f
commit 871c3840e5
5 changed files with 15 additions and 15 deletions

View File

@@ -7,14 +7,14 @@ from facefusion.utilities import conditional_download
def pre_check() -> bool:
conditional_download('.assets/examples',
[
'https://huggingface.co/facefusion/examples/resolve/main/source.jpg',
'https://huggingface.co/facefusion/examples/resolve/main/target-240p.mp4',
'https://huggingface.co/facefusion/examples/resolve/main/target-360p.mp4',
'https://huggingface.co/facefusion/examples/resolve/main/target-540p.mp4',
'https://huggingface.co/facefusion/examples/resolve/main/target-720p.mp4',
'https://huggingface.co/facefusion/examples/resolve/main/target-1080p.mp4',
'https://huggingface.co/facefusion/examples/resolve/main/target-1440p.mp4',
'https://huggingface.co/facefusion/examples/resolve/main/target-2160p.mp4'
'https://github.com/facefusion/facefusion-assets/releases/download/examples/source.jpg',
'https://github.com/facefusion/facefusion-assets/releases/download/examples/target-240p.mp4',
'https://github.com/facefusion/facefusion-assets/releases/download/examples/target-360p.mp4',
'https://github.com/facefusion/facefusion-assets/releases/download/examples/target-540p.mp4',
'https://github.com/facefusion/facefusion-assets/releases/download/examples/target-720p.mp4',
'https://github.com/facefusion/facefusion-assets/releases/download/examples/target-1080p.mp4',
'https://github.com/facefusion/facefusion-assets/releases/download/examples/target-1440p.mp4',
'https://github.com/facefusion/facefusion-assets/releases/download/examples/target-2160p.mp4'
])
return True