mirror of
https://github.com/facefusion/facefusion.git
synced 2026-07-28 21:08:54 +02:00
* remove insecure flag from curl * eleminate repating definitons * limit processors and ui layouts by choices * follow couple of v4 standards * use more secure mkstemp * dynamic cache path for execution providers * fix benchmarker, prevent path traveling via job-id * fix order in execution provider choices * resort by prioroty * introduce support for QNN * close file description for Windows to stop crying * prevent ConnectionResetError under windows * needed for nested .caches directory as onnxruntime does not create it * different approach to silent asyncio * update dependencies * simplify the name to just inference providers * switch to trt_builder_optimization_level 4
9 lines
337 B
Python
9 lines
337 B
Python
from typing import List, Sequence, get_args
|
|
|
|
from facefusion.common_helper import create_int_range
|
|
from facefusion.processors.modules.age_modifier.types import AgeModifierModel
|
|
|
|
age_modifier_models : List[AgeModifierModel] = list(get_args(AgeModifierModel))
|
|
|
|
age_modifier_direction_range : Sequence[int] = create_int_range(-100, 100, 1)
|