mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-06-09 07:07:16 -04:00
Fix a bug after c6901aba9f
This commit is contained in:
parent
1c4a2c9a71
commit
ef9910c767
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue