Hide deprecated args from Session tab
This commit is contained in:
parent
0047d9f5e0
commit
2769a1fa25
2 changed files with 3 additions and 2 deletions
|
@ -58,7 +58,7 @@ def set_interface_arguments(extensions, bool_active):
|
|||
|
||||
|
||||
def get_boolean_arguments(active=False):
|
||||
exclude = ["default", "notebook", "chat"]
|
||||
exclude = shared.deprecated_args
|
||||
|
||||
cmd_list = vars(shared.args)
|
||||
bool_list = sorted([k for k in cmd_list if type(cmd_list[k]) is bool and k not in exclude + ui.list_model_elements()])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue