From b80d5906c238a00dcca6177f3ad8a1e25d12e653 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Thu, 25 Jul 2024 15:09:31 -0700 Subject: [PATCH] UI: fix saving characters --- modules/ui_file_saving.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui_file_saving.py b/modules/ui_file_saving.py index 51fac69f..ac72c623 100644 --- a/modules/ui_file_saving.py +++ b/modules/ui_file_saving.py @@ -107,7 +107,7 @@ def handle_save_character_confirm_click(name2, greeting, context, character_pict try: chat.save_character(name2, greeting, context, character_picture, filename) available_characters = utils.get_available_characters() - output = gr.update(choices=available_characters, value=filename), + output = gr.update(choices=available_characters, value=filename) except Exception: output = gr.update() traceback.print_exc()