mirror of
https://github.com/facefusion/facefusion.git
synced 2026-09-22 15:30:46 +02:00
refactor state manager (#1237)
* refactor state manager * refactor state manager * refactor state manager * refactor state manager
This commit is contained in:
@@ -11,6 +11,7 @@ from facefusion.inference_manager import get_inference_pool, resolve_static_infe
|
||||
|
||||
@pytest.fixture(scope = 'module', autouse = True)
|
||||
def before_all() -> None:
|
||||
state_manager.init()
|
||||
state_manager.init_item('execution_device_ids', [ 0 ])
|
||||
state_manager.init_item('execution_providers', [ 'cpu' ])
|
||||
state_manager.init_item('download_providers', [ 'github' ])
|
||||
|
||||
Reference in New Issue
Block a user