mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-21 15:48:04 +01:00
UI: fix saving characters
This commit is contained in:
parent
e4624fbc68
commit
b80d5906c2
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user