mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-25 17:29:22 +01:00
Fix bug in save_model_settings
This commit is contained in:
parent
146a9cb393
commit
437d1c7ead
@ -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():
|
||||||
|
Loading…
Reference in New Issue
Block a user