mirror of
https://github.com/facefusion/facefusion.git
synced 2026-08-28 03:30:27 +02:00
Feat/refactor args (#1045)
* follow the new argument naming convention * revert * use get_xxx_arguments * Simple fix Args * Fix more stuff --------- Co-authored-by: henryruhs <info@henryruhs.com>
This commit is contained in:
committed by
henryruhs
co-authored by
henryruhs
parent
16d2fbf6f2
commit
53845585ef
@@ -11,7 +11,7 @@ from facefusion.apis.core import create_api
|
||||
@pytest.fixture(scope = 'module')
|
||||
def test_client() -> Iterator[TestClient]:
|
||||
program = ArgumentParser()
|
||||
args_store.register_arguments(
|
||||
args_store.register_argument_set(
|
||||
[
|
||||
program.add_argument(
|
||||
'--source-paths',
|
||||
@@ -20,7 +20,7 @@ def test_client() -> Iterator[TestClient]:
|
||||
],
|
||||
scopes = [ 'api' ]
|
||||
)
|
||||
args_store.register_arguments(
|
||||
args_store.register_argument_set(
|
||||
[
|
||||
program.add_argument(
|
||||
'--output-format',
|
||||
|
||||
Reference in New Issue
Block a user