mirror of
https://github.com/facefusion/facefusion.git
synced 2026-07-06 18:47:54 +02:00
add capabilities
This commit is contained in:
@@ -23,8 +23,7 @@ def before_all() -> None:
|
||||
|
||||
@pytest.fixture(scope = 'module')
|
||||
def test_client() -> Iterator[TestClient]:
|
||||
args_store.register_args([ 'source_paths', 'target_path' ], scopes = [ 'api' ])
|
||||
args_store.register_args([ 'execution_providers' ], scopes = [ 'api' ])
|
||||
args_store.register_args([ 'source_paths', 'target_path', 'execution_providers' ], scopes = [ 'api' ])
|
||||
state_manager.init_item('execution_providers', [ 'cpu' ])
|
||||
|
||||
with TestClient(create_api()) as test_client:
|
||||
|
||||
Reference in New Issue
Block a user