mirror of
https://github.com/facefusion/facefusion.git
synced 2026-08-04 16:18:38 +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
11 lines
439 B
Python
11 lines
439 B
Python
from typing import List, Sequence, get_args
|
|
|
|
from facefusion.common_helper import create_float_range, create_int_range
|
|
from facefusion.processors.modules.face_enhancer.types import FaceEnhancerModel
|
|
|
|
face_enhancer_models : List[FaceEnhancerModel] = list(get_args(FaceEnhancerModel))
|
|
|
|
face_enhancer_blend_range : Sequence[int] = create_int_range(0, 100, 1)
|
|
|
|
face_enhancer_weight_range : Sequence[float] = create_float_range(0.0, 1.0, 0.05)
|