Support for download provider mirrors (#847)

This commit is contained in:
Henry Ruhs
2025-01-06 16:34:35 +01:00
committed by henryruhs
parent 6f0675030e
commit 87350eb45f
3 changed files with 26 additions and 15 deletions

View File

@@ -83,12 +83,19 @@ download_provider_set : DownloadProviderSet =\
{
'github':
{
'url': 'https://github.com',
'urls':
[
'https://github.com'
],
'path': '/facefusion/facefusion-assets/releases/download/{base_name}/{file_name}'
},
'huggingface':
{
'url': 'https://huggingface.co',
'urls':
[
'https://huggingface.co',
'https://hf-mirror.com'
],
'path': '/facefusion/{base_name}/resolve/main/{file_name}'
}
}