From 1ce3c9360049abe2aa8aa77ed6aff0fe3f8aed00 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Thu, 14 Sep 2023 03:44:17 -0700 Subject: [PATCH] Allow "Your name" field to be saved --- modules/ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui.py b/modules/ui.py index 2f8664f2..790bc3b5 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -185,7 +185,7 @@ def apply_interface_values(state, use_persistent=False): def save_settings(state, preset, instruction_template, extensions, show_controls): output = copy.deepcopy(shared.settings) - exclude = ['name1', 'name2', 'greeting', 'context', 'turn_template'] + exclude = ['name2', 'greeting', 'context', 'turn_template'] for k in state: if k in shared.settings and k not in exclude: output[k] = state[k]