mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
UI: fix saving characters
This commit is contained in:
parent
dd97a83534
commit
498fec2c7c
@ -107,7 +107,7 @@ def handle_save_character_confirm_click(name2, greeting, context, character_pict
|
|||||||
try:
|
try:
|
||||||
chat.save_character(name2, greeting, context, character_picture, filename)
|
chat.save_character(name2, greeting, context, character_picture, filename)
|
||||||
available_characters = utils.get_available_characters()
|
available_characters = utils.get_available_characters()
|
||||||
output = gr.update(choices=available_characters, value=filename),
|
output = gr.update(choices=available_characters, value=filename)
|
||||||
except Exception:
|
except Exception:
|
||||||
output = gr.update()
|
output = gr.update()
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
Loading…
Reference in New Issue
Block a user