Skip to content

Commit

Permalink
UI: fix saving characters
Browse files Browse the repository at this point in the history
  • Loading branch information
oobabooga committed Jul 25, 2024
1 parent dd97a83 commit 498fec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ui_file_saving.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 498fec2

Please sign in to comment.