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
366 B
Python
9 lines
366 B
Python
from typing import List, Sequence, get_args
|
|
|
|
from facefusion.common_helper import create_int_range
|
|
from facefusion.processors.modules.background_remover.types import BackgroundRemoverModel
|
|
|
|
background_remover_models : List[BackgroundRemoverModel] = list(get_args(BackgroundRemoverModel))
|
|
|
|
background_remover_color_range : Sequence[int] = create_int_range(0, 255, 1)
|