From 437d1c7eada48aae798918dc11083732e92daba2 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Fri, 12 May 2023 14:33:00 -0300 Subject: [PATCH] Fix bug in save_model_settings --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 43027f8d..cc492e6d 100644 --- a/server.py +++ b/server.py @@ -266,7 +266,7 @@ def save_model_settings(model, state): user_config = {} model_regex = model + '$' # For exact matches - if model not in user_config: + if model_regex not in user_config: user_config[model_regex] = {} for k in ui.list_model_elements():