Fix bug in save_model_settings

This commit is contained in:
oobabooga 2023-05-12 14:33:00 -03:00
parent 146a9cb393
commit 437d1c7ead

View File

@ -266,7 +266,7 @@ def save_model_settings(model, state):
user_config = {} user_config = {}
model_regex = model + '$' # For exact matches model_regex = model + '$' # For exact matches
if model not in user_config: if model_regex not in user_config:
user_config[model_regex] = {} user_config[model_regex] = {}
for k in ui.list_model_elements(): for k in ui.list_model_elements():