mirror of
https://github.com/facefusion/facefusion.git
synced 2026-10-13 17:17:30 +02:00
Patch 3.6.1 (#1078)
* Avast intercepts ssl cert and breaks curl * modernize dependencies * fix sanitizer for int range * comment out tests * disable testing for CI * disable testing for CI
This commit is contained in:
1 parent
519360bcd6
commit
5b7d145aa7
7 files changed
+21
-11
No files matched your search
@@ -9,7 +9,7 @@ from facefusion.types import Command
|
||||
def run(commands : List[Command]) -> List[Command]:
|
||||
user_agent = metadata.get('name') + '/' + metadata.get('version')
|
||||
|
||||
return [ shutil.which('curl'), '--user-agent', user_agent, '--location', '--silent' ] + commands
|
||||
return [ shutil.which('curl'), '--user-agent', user_agent, '--location', '--silent', '--ssl-no-revoke' ] + commands
|
||||
|
||||
|
||||
def chain(*commands : List[Command]) -> List[Command]:
|
||||
|
||||
@@ -19,14 +19,14 @@ LOCALES =\
|
||||
}
|
||||
ONNXRUNTIME_SET =\
|
||||
{
|
||||
'default': ('onnxruntime', '1.24.1')
|
||||
'default': ('onnxruntime', '1.24.4')
|
||||
}
|
||||
if is_windows() or is_linux():
|
||||
ONNXRUNTIME_SET['cuda'] = ('onnxruntime-gpu', '1.24.3')
|
||||
ONNXRUNTIME_SET['cuda'] = ('onnxruntime-gpu', '1.24.4')
|
||||
ONNXRUNTIME_SET['openvino'] = ('onnxruntime-openvino', '1.24.1')
|
||||
if is_windows():
|
||||
ONNXRUNTIME_SET['directml'] = ('onnxruntime-directml', '1.24.3')
|
||||
ONNXRUNTIME_SET['qnn'] = ('onnxruntime-qnn', '1.24.3')
|
||||
ONNXRUNTIME_SET['directml'] = ('onnxruntime-directml', '1.24.4')
|
||||
ONNXRUNTIME_SET['qnn'] = ('onnxruntime-qnn', '1.24.4')
|
||||
if is_linux():
|
||||
ONNXRUNTIME_SET['migraphx'] = ('onnxruntime-migraphx', '1.24.2')
|
||||
ONNXRUNTIME_SET['rocm'] = ('onnxruntime-rocm', '1.22.2.post1')
|
||||
|
||||
@@ -4,7 +4,7 @@ METADATA =\
|
||||
{
|
||||
'name': 'FaceFusion',
|
||||
'description': 'Industry leading face manipulation platform',
|
||||
'version': '3.6.0',
|
||||
'version': '3.6.1',
|
||||
'license': 'OpenRAIL-AS',
|
||||
'author': 'Henry Ruhs',
|
||||
'url': 'https://facefusion.io'
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
import hashlib
|
||||
from typing import Sequence
|
||||
from typing import Any, Sequence
|
||||
|
||||
from facefusion.common_helper import cast_int
|
||||
|
||||
|
||||
def sanitize_job_id(job_id : str) -> str:
|
||||
@@ -10,7 +12,9 @@ def sanitize_job_id(job_id : str) -> str:
|
||||
return hashlib.sha1(job_id.encode()).hexdigest()
|
||||
|
||||
|
||||
def sanitize_int_range(value : int, int_range : Sequence[int]) -> int:
|
||||
def sanitize_int_range(value : Any, int_range : Sequence[int]) -> int:
|
||||
value = cast_int(value)
|
||||
|
||||
if value in int_range:
|
||||
return value
|
||||
return int_range[0]
|
||||
Reference in new issue
Block a user