mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-01-01 22:30:10 +01:00
Fix a bug after c6901aba9f
This commit is contained in:
parent
1c4a2c9a71
commit
ef9910c767
|
|
@ -69,10 +69,8 @@ def set_interface_arguments(extensions, bool_active):
|
|||
|
||||
|
||||
def get_boolean_arguments(active=False):
|
||||
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()])
|
||||
bool_list = sorted([k for k in cmd_list if type(cmd_list[k]) is bool and k not in ui.list_model_elements()])
|
||||
bool_active = [k for k in bool_list if vars(shared.args)[k]]
|
||||
|
||||
if active:
|
||||
|
|
|
|||
Loading…
Reference in a new issue